#D9CF45#D9CF45

#D9CF45 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.154 H 105.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D9CF45
RGBrgb(217, 207, 69)
HSLhsl(56, 66%, 56%)
HSVhsv(56, 68%, 85%)
CMYKcmyk(0%, 4.6%, 68.2%, 14.9%)
CIE-LABlab(81.73, -12.32, 66.53)
CIE-LCHlch(81.73, 67.66, 100.49°)
OKLaboklab(83.83% -0.0403 0.1487)
OKLCHoklch(83.83% 0.154 105.2)
XYZxyz(52.0043, 59.8090, 14.4340)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF45 #454FD9
analogous
#D98545 #D9CF45 #99D945
triadic
#D9CF45 #45D9CF #CF45D9
tetradic
#D9CF45 #45D985 #454FD9 #D94599
square
#D9CF45 #45D985 #454FD9 #D94599
split-complementary
#D9CF45 #4599D9 #8545D9
monochromatic
#88811C #BBB126 #D9CF45 #E3DC78 #EEE9AB

Accessibility & contrast

On white

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

On black

12.96
#D9CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF45
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF45#FFFFFF#000000##000000
##D9CF451.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C830
Deuteranopia (green-blind)
#E4CE4E
Tritanopia (blue-blind)
#E9C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf45;
/* rgb */ color: rgb(217, 207, 69);
/* oklch */ color: oklch(83.8% 0.154 105.2);
Tailwind
colors: {
  custom: {
    50: '#e8dd81',
    500: '#d9cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf45;
$custom-light: #e8dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf45",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 55.946,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83831,
    "c": 0.15402,
    "h": 105.2
  },
  "luminance": 0.59807
}

Semantic roles & 50–950 ramp

primary
#D9CF45
secondary
#343A8E
accent
#4AE93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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