#D9CF41#D9CF41

#D9CF41 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.157 H 105.3°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D9CF41
RGBrgb(217, 207, 65)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 70%, 85%)
CMYKcmyk(0%, 4.6%, 70%, 14.9%)
CIE-LABlab(81.71, -12.52, 68.00)
CIE-LCHlch(81.71, 69.14, 100.43°)
OKLaboklab(83.8% -0.0413 0.1511)
OKLCHoklch(83.8% 0.157 105.3)
XYZxyz(51.8843, 59.7610, 13.8020)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF41 #414BD9
analogous
#D98341 #D9CF41 #97D941
triadic
#D9CF41 #41D9CF #CF41D9
tetradic
#D9CF41 #41D983 #414BD9 #D94197
square
#D9CF41 #41D983 #414BD9 #D94197
split-complementary
#D9CF41 #4197D9 #8341D9
monochromatic
#857E1B #B8AE25 #D9CF41 #E3DC74 #EDE9A7

Accessibility & contrast

On white

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

On black

12.95
#D9CF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF41
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF41#FFFFFF#000000##000000
##D9CF411.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#E5CE4B
Tritanopia (blue-blind)
#E9C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf41;
/* rgb */ color: rgb(217, 207, 65);
/* oklch */ color: oklch(83.8% 0.157 105.3);
Tailwind
colors: {
  custom: {
    50: '#e8dd7e',
    500: '#d9cf41',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf41;
$custom-light: #e8dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf41",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 56.053,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83802,
    "c": 0.1566,
    "h": 105.3
  },
  "luminance": 0.59759
}

Semantic roles & 50–950 ramp

primary
#D9CF41
secondary
#33398B
accent
#49EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9CF41

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

Preview Lab → · Contrast checker → · Palette generator →

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