#D9CF40#D9CF40

#D9CF40 is a very light, vivid yellow. Relative luminance 0.597; 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#D9CF40
RGBrgb(217, 207, 64)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 71%, 85%)
CMYKcmyk(0%, 4.6%, 70.5%, 14.9%)
CIE-LABlab(81.70, -12.57, 68.35)
CIE-LCHlch(81.70, 69.50, 100.42°)
OKLaboklab(83.8% -0.0415 0.1517)
OKLCHoklch(83.8% 0.157 105.3)
XYZxyz(51.8556, 59.7495, 13.6508)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF40 #404AD9
analogous
#D98240 #D9CF40 #97D940
triadic
#D9CF40 #40D9CF #CF40D9
tetradic
#D9CF40 #40D982 #404AD9 #D94097
square
#D9CF40 #40D982 #404AD9 #D94097
split-complementary
#D9CF40 #4097D9 #8240D9
monochromatic
#847D1A #B7AE24 #D9CF40 #E3DC73 #EDE9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CF40#FFFFFF#000000##000000
##D9CF401.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)
#E1C828
Deuteranopia (green-blind)
#E5CE4A
Tritanopia (blue-blind)
#E9C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf40;
/* rgb */ color: rgb(217, 207, 64);
/* oklch */ color: oklch(83.8% 0.157 105.3);
Tailwind
colors: {
  custom: {
    50: '#e8dd7e',
    500: '#d9cf40',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf40;
$custom-light: #e8dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf40",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 56.078,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83795,
    "c": 0.15723,
    "h": 105.3
  },
  "luminance": 0.59748
}

Semantic roles & 50–950 ramp

primary
#D9CF40
secondary
#32388B
accent
#49EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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