#D9CF57#D9CF57

#D9CF57 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.0% C 0.141 H 104.5°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D9CF57
RGBrgb(217, 207, 87)
HSLhsl(55, 63%, 60%)
HSVhsv(55, 60%, 85%)
CMYKcmyk(0%, 4.6%, 59.9%, 14.9%)
CIE-LABlab(81.87, -11.24, 59.32)
CIE-LCHlch(81.87, 60.37, 100.73°)
OKLaboklab(83.99% -0.0353 0.1361)
OKLCHoklch(83.99% 0.141 104.5)
XYZxyz(52.6502, 60.0673, 17.8357)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF57 #5761D9
analogous
#D98E57 #D9CF57 #A2D957
triadic
#D9CF57 #57D9CF #CF57D9
tetradic
#D9CF57 #57D98E #5761D9 #D957A2
square
#D9CF57 #57D98E #5761D9 #D957A2
split-complementary
#D9CF57 #57A2D9 #8E57D9
monochromatic
#948B21 #C6BA2D #D9CF57 #E4DD89 #F0ECBB

Accessibility & contrast

On white

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

On black

13.01
#D9CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF57
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF57#FFFFFF#000000##000000
##D9CF571.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C849
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#E8C2B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cf57;
/* rgb */ color: rgb(217, 207, 87);
/* oklch */ color: oklch(84.0% 0.141 104.5);
Tailwind
colors: {
  custom: {
    50: '#e8dd8b',
    500: '#d9cf57',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf57;
$custom-light: #e8dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf57",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 55.385,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83988,
    "c": 0.14061,
    "h": 104.5
  },
  "luminance": 0.60065
}

Semantic roles & 50–950 ramp

primary
#D9CF57
secondary
#3B4299
accent
#4EE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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