#D2C577#D2C577

#D2C577 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.100 H 100.0°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D2C577
RGBrgb(210, 197, 119)
HSLhsl(51, 50%, 65%)
HSVhsv(51, 43%, 82%)
CMYKcmyk(0%, 6.2%, 43.3%, 17.6%)
CIE-LABlab(79.02, -6.29, 40.66)
CIE-LCHlch(79.02, 41.15, 98.79°)
OKLaboklab(81.7% -0.0174 0.0985)
OKLCHoklch(81.7% 0.1 100)
XYZxyz(49.8755, 54.9676, 25.4317)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C577 #7784D2
analogous
#D29877 #D2C577 #B1D277
triadic
#D2C577 #77D2C5 #C577D2
tetradic
#D2C577 #77D298 #7784D2 #D277B1
square
#D2C577 #77D298 #7784D2 #D277B1
split-complementary
#D2C577 #77B1D2 #9877D2
monochromatic
#9B8C33 #C3B149 #D2C577 #E1D9A5 #F0ECD3

Accessibility & contrast

On white

1.75
#D2C577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D2C577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C577
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C577#FFFFFF#000000##000000
##D2C5771.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D6C67A
Tritanopia (blue-blind)
#DEBBB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c577;
/* rgb */ color: rgb(210, 197, 119);
/* oklch */ color: oklch(81.7% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#e1d69f',
    500: '#d2c577',
    950: '#000000',
  },
}
SCSS
$custom: #d2c577;
$custom-light: #e1d69f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c577",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 51.429,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81699,
    "c": 0.10002,
    "h": 100
  },
  "luminance": 0.54966
}

Semantic roles & 50–950 ramp

primary
#D2C577
secondary
#4D59A0
accent
#3DBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C577

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D2C577 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva