#D8CF45#D8CF45

#D8CF45 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.154 H 105.6°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D8CF45
RGBrgb(216, 207, 69)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 68%, 85%)
CMYKcmyk(0%, 4.2%, 68.1%, 15.3%)
CIE-LABlab(81.65, -12.74, 66.42)
CIE-LCHlch(81.65, 67.63, 100.86°)
OKLaboklab(83.74% -0.0414 0.1485)
OKLCHoklch(83.74% 0.154 105.6)
XYZxyz(51.7079, 59.6561, 14.4201)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF45 #454ED8
analogous
#D88645 #D8CF45 #97D845
triadic
#D8CF45 #45D8CF #CF45D8
tetradic
#D8CF45 #45D886 #454ED8 #D84597
square
#D8CF45 #45D886 #454ED8 #D84597
split-complementary
#D8CF45 #4597D8 #8645D8
monochromatic
#86801C #B9B027 #D8CF45 #E3DC78 #EDE9AA

Accessibility & contrast

On white

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

On black

12.93
#D8CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF45
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF45#FFFFFF#000000##000000
##D8CF451.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cf45;
/* rgb */ color: rgb(216, 207, 69);
/* oklch */ color: oklch(83.7% 0.154 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8dd81',
    500: '#d8cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf45;
$custom-light: #e8dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf45",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 56.327,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83744,
    "c": 0.15412,
    "h": 105.6
  },
  "luminance": 0.59654
}

Semantic roles & 50–950 ramp

primary
#D8CF45
secondary
#343A8D
accent
#4AE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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