#D9CE3F#D9CE3F

#D9CE3F is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.157 H 104.9°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D9CE3F
RGBrgb(217, 206, 63)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 71%, 85%)
CMYKcmyk(0%, 5.1%, 71%, 14.9%)
CIE-LABlab(81.43, -12.11, 68.45)
CIE-LCHlch(81.43, 69.51, 100.04°)
OKLaboklab(83.58% -0.0403 0.1517)
OKLCHoklch(83.58% 0.157 104.9)
XYZxyz(51.5859, 59.2552, 13.4218)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE3F #3F4AD9
analogous
#D9813F #D9CE3F #97D93F
triadic
#D9CE3F #3FD9CE #CE3FD9
tetradic
#D9CE3F #3FD981 #3F4AD9 #D93F97
square
#D9CE3F #3FD981 #3F4AD9 #D93F97
split-complementary
#D9CE3F #3F97D9 #813FD9
monochromatic
#847C1A #B7AC24 #D9CE3F #E3DB72 #EDE8A5

Accessibility & contrast

On white

1.63
#D9CE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D9CE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE3F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE3F#FFFFFF#000000##000000
##D9CE3F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C727
Deuteranopia (green-blind)
#E4CD49
Tritanopia (blue-blind)
#E9C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9ce3f;
/* rgb */ color: rgb(217, 206, 63);
/* oklch */ color: oklch(83.6% 0.157 104.9);
Tailwind
colors: {
  custom: {
    50: '#e9dc7d',
    500: '#d9ce3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce3f;
$custom-light: #e9dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce3f",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 63
  },
  "hsl": {
    "h": 55.714,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83578,
    "c": 0.15695,
    "h": 104.9
  },
  "luminance": 0.59253
}

Semantic roles & 50–950 ramp

primary
#D9CE3F
secondary
#32388A
accent
#4AEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9CE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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