#D2CF5A#D2CF5A

#D2CF5A is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.139 H 107.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D2CF5A
RGBrgb(210, 207, 90)
HSLhsl(59, 57%, 59%)
HSVhsv(59, 57%, 82%)
CMYKcmyk(0%, 1.4%, 57.1%, 17.6%)
CIE-LABlab(81.33, -13.91, 57.24)
CIE-LCHlch(81.33, 58.90, 103.66°)
OKLaboklab(83.42% -0.0422 0.1322)
OKLCHoklch(83.42% 0.139 107.7)
XYZxyz(50.7381, 59.0669, 18.3992)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF5A #5A5DD2
analogous
#D2935A #D2CF5A #99D25A
triadic
#D2CF5A #5AD2CF #CF5AD2
tetradic
#D2CF5A #5AD293 #5A5DD2 #D25A99
square
#D2CF5A #5AD293 #5A5DD2 #D25A99
split-complementary
#D2CF5A #5A99D2 #935AD2
monochromatic
#8C8926 #BCB833 #D2CF5A #DFDD8A #ECEBBA

Accessibility & contrast

On white

1.64
#D2CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D2CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF5A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF5A#FFFFFF#000000##000000
##D2CF5A1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC84D
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#E0C3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf5a;
/* rgb */ color: rgb(210, 207, 90);
/* oklch */ color: oklch(83.4% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#e2dd8d',
    500: '#d2cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf5a;
$custom-light: #e2dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf5a",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 58.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83423,
    "c": 0.13877,
    "h": 107.7
  },
  "luminance": 0.59065
}

Semantic roles & 50–950 ramp

primary
#D2CF5A
secondary
#3E4192
accent
#4BE047
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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