#7D987D CSS Color Code

#7D987D

Color Values & Formats

Using is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

HEX
#7d987d
HEX Upper
#7D987D
RGB
rgb(125, 152, 125)
RGBA
rgba(125, 152, 125, 1)
HSL
hsl(120, 12%, 54%)
HSLA
hsla(120, 12%, 54%, 1)
HWB
hwb(120 49% 40%)
CIELAB
lab(60.16 -14.94 11.12)
CIELCH
lch(60.16 18.63 143.35)
OKLab
oklab(0.651 -0.041 0.029)
OKLCH
oklch(0.651 0.05 145.03)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).