#D2CF59#D2CF59

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

Color values

HEX#D2CF59
RGBrgb(210, 207, 89)
HSLhsl(59, 57%, 59%)
HSVhsv(59, 58%, 82%)
CMYKcmyk(0%, 1.4%, 57.6%, 17.6%)
CIE-LABlab(81.32, -13.99, 57.67)
CIE-LCHlch(81.32, 59.34, 103.63°)
OKLaboklab(83.41% -0.0425 0.133)
OKLCHoklch(83.41% 0.14 107.7)
XYZxyz(50.6959, 59.0500, 18.1766)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF59 #595CD2
analogous
#D29259 #D2CF59 #98D259
triadic
#D2CF59 #59D2CF #CF59D2
tetradic
#D2CF59 #59D292 #595CD2 #D25998
square
#D2CF59 #59D292 #595CD2 #D25998
split-complementary
#D2CF59 #5998D2 #9259D2
monochromatic
#8B8826 #BBB833 #D2CF59 #DFDD89 #ECEBB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF59#FFFFFF#000000##000000
##D2CF591.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)
#DFC74C
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf59;
/* rgb */ color: rgb(210, 207, 89);
/* oklch */ color: oklch(83.4% 0.140 107.7);
Tailwind
colors: {
  custom: {
    50: '#e2dd8c',
    500: '#d2cf59',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf59;
$custom-light: #e2dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf59",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 58.512,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83412,
    "c": 0.13962,
    "h": 107.7
  },
  "luminance": 0.59049
}

Semantic roles & 50–950 ramp

primary
#D2CF59
secondary
#3E4091
accent
#4BE147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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