#D2CF8A#D2CF8A

#D2CF8A is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.089 H 106.0°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D2CF8A
RGBrgb(210, 207, 138)
HSLhsl(58, 44%, 68%)
HSVhsv(58, 34%, 82%)
CMYKcmyk(0%, 1.4%, 34.3%, 17.6%)
CIE-LABlab(81.93, -9.32, 34.72)
CIE-LCHlch(81.93, 35.95, 105.02°)
OKLaboklab(84.09% -0.0247 0.0858)
OKLCHoklch(84.09% 0.089 106)
XYZxyz(53.4792, 60.1633, 32.8353)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF8A #8A8DD2
analogous
#D2AB8A #D2CF8A #B1D28A
triadic
#D2CF8A #8AD2CF #CF8AD2
tetradic
#D2CF8A #8AD2AB #8A8DD2 #D28AB1
square
#D2CF8A #8AD2AB #8A8DD2 #D28AB1
split-complementary
#D2CF8A #8AB1D2 #AB8AD2
monochromatic
#A39F3F #C1BD5E #D2CF8A #E3E1B6 #F4F3E2

Accessibility & contrast

On white

1.61
#D2CF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D2CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF8A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF8A#FFFFFF#000000##000000
##D2CF8A1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACA85
Deuteranopia (green-blind)
#DCCD8D
Tritanopia (blue-blind)
#DCC6BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2cf8a;
/* rgb */ color: rgb(210, 207, 138);
/* oklch */ color: oklch(84.1% 0.089 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1ddad',
    500: '#d2cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf8a;
$custom-light: #e1ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf8a",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 57.5,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.84093,
    "c": 0.08924,
    "h": 106
  },
  "luminance": 0.60162
}

Semantic roles & 50–950 ramp

primary
#D2CF8A
secondary
#595CA8
accent
#34B82E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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