#D2CF57#D2CF57

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

Color values

HEX#D2CF57
RGBrgb(210, 207, 87)
HSLhsl(59, 58%, 58%)
HSVhsv(59, 59%, 82%)
CMYKcmyk(0%, 1.4%, 58.6%, 17.6%)
CIE-LABlab(81.30, -14.13, 58.52)
CIE-LCHlch(81.30, 60.21, 103.57°)
OKLaboklab(83.39% -0.0431 0.1346)
OKLCHoklch(83.39% 0.141 107.8)
XYZxyz(50.6130, 59.0169, 17.7402)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF57 #575AD2
analogous
#D29257 #D2CF57 #97D257
triadic
#D2CF57 #57D2CF #CF57D2
tetradic
#D2CF57 #57D292 #575AD2 #D25797
square
#D2CF57 #57D292 #575AD2 #D25797
split-complementary
#D2CF57 #5797D2 #9257D2
monochromatic
#8A8725 #BAB732 #D2CF57 #DFDD87 #ECEBB8

Accessibility & contrast

On white

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

On black

12.80
#D2CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF57
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF57#FFFFFF#000000##000000
##D2CF571.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC74A
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf57;
/* rgb */ color: rgb(210, 207, 87);
/* oklch */ color: oklch(83.4% 0.141 107.8);
Tailwind
colors: {
  custom: {
    50: '#e2dd8b',
    500: '#d2cf57',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf57;
$custom-light: #e2dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf57",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 58.537,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83392,
    "c": 0.14131,
    "h": 107.8
  },
  "luminance": 0.59015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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