#D9CF50#D9CF50

#D9CF50 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.146 H 104.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D9CF50
RGBrgb(217, 207, 80)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 4.6%, 63.1%, 14.9%)
CIE-LABlab(81.82, -11.69, 62.23)
CIE-LCHlch(81.82, 63.32, 100.64°)
OKLaboklab(83.92% -0.0374 0.1413)
OKLCHoklch(83.92% 0.146 104.8)
XYZxyz(52.3780, 59.9584, 16.4020)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF50 #505AD9
analogous
#D98A50 #D9CF50 #9FD950
triadic
#D9CF50 #50D9CF #CF50D9
tetradic
#D9CF50 #50D98A #505AD9 #D9509F
square
#D9CF50 #50D98A #505AD9 #D9509F
split-complementary
#D9CF50 #509FD9 #8A50D9
monochromatic
#8F871F #C2B72A #D9CF50 #E4DD82 #EFEBB5

Accessibility & contrast

On white

1.62
#D9CF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D9CF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF50
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF50#FFFFFF#000000##000000
##D9CF501.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#E8C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf50;
/* rgb */ color: rgb(217, 207, 80);
/* oklch */ color: oklch(83.9% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8dd87',
    500: '#d9cf50',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf50;
$custom-light: #e8dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf50",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 55.62,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83922,
    "c": 0.14616,
    "h": 104.8
  },
  "luminance": 0.59957
}

Semantic roles & 50–950 ramp

primary
#D9CF50
secondary
#383F95
accent
#4DE740
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF50

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

Preview Lab → · Contrast checker → · Palette generator →

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