#D9CF54#D9CF54

#D9CF54 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.143 H 104.7°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D9CF54
RGBrgb(217, 207, 84)
HSLhsl(55, 64%, 59%)
HSVhsv(55, 61%, 85%)
CMYKcmyk(0%, 4.6%, 61.3%, 14.9%)
CIE-LABlab(81.85, -11.44, 60.58)
CIE-LCHlch(81.85, 61.65, 100.69°)
OKLaboklab(83.96% -0.0362 0.1384)
OKLCHoklch(83.96% 0.143 104.7)
XYZxyz(52.5302, 60.0193, 17.2036)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF54 #545ED9
analogous
#D98D54 #D9CF54 #A1D954
triadic
#D9CF54 #54D9CF #CF54D9
tetradic
#D9CF54 #54D98D #545ED9 #D954A1
square
#D9CF54 #54D98D #545ED9 #D954A1
split-complementary
#D9CF54 #54A1D9 #8D54D9
monochromatic
#928A20 #C4B92C #D9CF54 #E4DD86 #EFEBB8

Accessibility & contrast

On white

1.61
#D9CF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D9CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF54
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF54#FFFFFF#000000##000000
##D9CF541.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C846
Deuteranopia (green-blind)
#E3CE5B
Tritanopia (blue-blind)
#E8C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf54;
/* rgb */ color: rgb(217, 207, 84);
/* oklch */ color: oklch(84.0% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8dd89',
    500: '#d9cf54',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf54;
$custom-light: #e8dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf54",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 55.489,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83958,
    "c": 0.14304,
    "h": 104.7
  },
  "luminance": 0.60017
}

Semantic roles & 50–950 ramp

primary
#D9CF54
secondary
#3A4197
accent
#4EE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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