#D2CF97#D2CF97

#D2CF97 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.3% C 0.074 H 105.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D2CF97
RGBrgb(210, 207, 151)
HSLhsl(57, 40%, 71%)
HSVhsv(57, 28%, 82%)
CMYKcmyk(0%, 1.4%, 28.1%, 17.6%)
CIE-LABlab(82.14, -7.70, 28.29)
CIE-LCHlch(82.14, 29.32, 105.22°)
OKLaboklab(84.34% -0.0194 0.071)
OKLCHoklch(84.34% 0.074 105.3)
XYZxyz(54.4773, 60.5626, 38.0921)
Luminance0.6056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF97 #979AD2
analogous
#D2B197 #D2CF97 #B7D297
triadic
#D2CF97 #97D2CF #CF97D2
tetradic
#D2CF97 #97D2B1 #979AD2 #D297B7
square
#D2CF97 #97D2B1 #979AD2 #D297B7
split-complementary
#D2CF97 #97B7D2 #B197D2
monochromatic
#A7A248 #C0BB6C #D2CF97 #E4E3C2 #F6F5EA

Accessibility & contrast

On white

1.60
#D2CF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D2CF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF97
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF97#FFFFFF#000000##000000
##D2CF971.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CB93
Deuteranopia (green-blind)
#DACE99
Tritanopia (blue-blind)
#DBC8C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2cf97;
/* rgb */ color: rgb(210, 207, 151);
/* oklch */ color: oklch(84.3% 0.074 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0ddb6',
    500: '#d2cf97',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf97;
$custom-light: #e0ddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf97",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 56.949,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.84335,
    "c": 0.0736,
    "h": 105.3
  },
  "luminance": 0.60562
}

Semantic roles & 50–950 ramp

primary
#D2CF97
secondary
#6569A8
accent
#39B333
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CF97

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

Preview Lab → · Contrast checker → · Palette generator →

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