#D2CF77#D2CF77

#D2CF77 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.111 H 106.8°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D2CF77
RGBrgb(210, 207, 119)
HSLhsl(58, 50%, 65%)
HSVhsv(58, 43%, 82%)
CMYKcmyk(0%, 1.4%, 43.3%, 17.6%)
CIE-LABlab(81.65, -11.40, 43.95)
CIE-LCHlch(81.65, 45.40, 104.54°)
OKLaboklab(83.79% -0.0321 0.1059)
OKLCHoklch(83.79% 0.111 106.8)
XYZxyz(52.2219, 59.6604, 26.2139)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF77 #777AD2
analogous
#D2A277 #D2CF77 #A8D277
triadic
#D2CF77 #77D2CF #CF77D2
tetradic
#D2CF77 #77D2A2 #777AD2 #D277A8
square
#D2CF77 #77D2A2 #777AD2 #D277A8
split-complementary
#D2CF77 #77A8D2 #A277D2
monochromatic
#9B9833 #C3BF49 #D2CF77 #E1DFA5 #F0EFD3

Accessibility & contrast

On white

1.62
#D2CF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D2CF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF77
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF77#FFFFFF#000000##000000
##D2CF771.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC970
Deuteranopia (green-blind)
#DECD7B
Tritanopia (blue-blind)
#DEC5BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf77;
/* rgb */ color: rgb(210, 207, 119);
/* oklch */ color: oklch(83.8% 0.111 106.8);
Tailwind
colors: {
  custom: {
    50: '#e1dda0',
    500: '#d2cf77',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf77;
$custom-light: #e1dda0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf77",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 119
  },
  "hsl": {
    "h": 58.022,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83786,
    "c": 0.11063,
    "h": 106.8
  },
  "luminance": 0.59659
}

Semantic roles & 50–950 ramp

primary
#D2CF77
secondary
#4D50A0
accent
#2DBE28
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CF77

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

Preview Lab → · Contrast checker → · Palette generator →

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