#D9CF3F#D9CF3F

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

Color values

HEX#D9CF3F
RGBrgb(217, 207, 63)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 71%, 85%)
CMYKcmyk(0%, 4.6%, 71%, 14.9%)
CIE-LABlab(81.70, -12.62, 68.71)
CIE-LCHlch(81.70, 69.85, 100.41°)
OKLaboklab(83.79% -0.0417 0.1522)
OKLCHoklch(83.79% 0.158 105.3)
XYZxyz(51.8274, 59.7382, 13.5023)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF3F #3F49D9
analogous
#D9823F #D9CF3F #96D93F
triadic
#D9CF3F #3FD9CF #CF3FD9
tetradic
#D9CF3F #3FD982 #3F49D9 #D93F96
square
#D9CF3F #3FD982 #3F49D9 #D93F96
split-complementary
#D9CF3F #3F96D9 #823FD9
monochromatic
#847D1A #B7AD24 #D9CF3F #E3DC72 #EDE9A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CF3F#FFFFFF#000000##000000
##D9CF3F1.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)
#E1C826
Deuteranopia (green-blind)
#E5CE49
Tritanopia (blue-blind)
#E9C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf3f;
/* rgb */ color: rgb(217, 207, 63);
/* oklch */ color: oklch(83.8% 0.158 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9dd7d',
    500: '#d9cf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf3f;
$custom-light: #e9dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf3f",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 56.104,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83788,
    "c": 0.15784,
    "h": 105.3
  },
  "luminance": 0.59736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9CF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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