#D9CF4F#D9CF4F

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

Color values

HEX#D9CF4F
RGBrgb(217, 207, 79)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 64%, 85%)
CMYKcmyk(0%, 4.6%, 63.6%, 14.9%)
CIE-LABlab(81.81, -11.75, 62.64)
CIE-LCHlch(81.81, 63.73, 100.63°)
OKLaboklab(83.91% -0.0377 0.142)
OKLCHoklch(83.91% 0.147 104.8)
XYZxyz(52.3413, 59.9438, 16.2088)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF4F #4F59D9
analogous
#D98A4F #D9CF4F #9ED94F
triadic
#D9CF4F #4FD9CF #CF4FD9
tetradic
#D9CF4F #4FD98A #4F59D9 #D94F9E
square
#D9CF4F #4FD98A #4F59D9 #D94F9E
split-complementary
#D9CF4F #4F9ED9 #8A4FD9
monochromatic
#8F871F #C1B62A #D9CF4F #E4DD81 #EFEAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CF4F#FFFFFF#000000##000000
##D9CF4F1.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)
#E0C83F
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#E8C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf4f;
/* rgb */ color: rgb(217, 207, 79);
/* oklch */ color: oklch(83.9% 0.147 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8dd86',
    500: '#d9cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf4f;
$custom-light: #e8dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf4f",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 55.652,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83913,
    "c": 0.14692,
    "h": 104.8
  },
  "luminance": 0.59942
}

Semantic roles & 50–950 ramp

primary
#D9CF4F
secondary
#383F94
accent
#4CE740
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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