#D8CF49#D8CF49

#D8CF49 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.151 H 105.5°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D8CF49
RGBrgb(216, 207, 73)
HSLhsl(56, 65%, 57%)
HSVhsv(56, 66%, 85%)
CMYKcmyk(0%, 4.2%, 66.2%, 15.3%)
CIE-LABlab(81.68, -12.52, 64.90)
CIE-LCHlch(81.68, 66.09, 100.92°)
OKLaboklab(83.78% -0.0404 0.1459)
OKLCHoklch(83.78% 0.151 105.5)
XYZxyz(51.8363, 59.7075, 15.0962)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF49 #4952D8
analogous
#D88849 #D8CF49 #9AD849
triadic
#D8CF49 #49D8CF #CF49D8
tetradic
#D8CF49 #49D888 #4952D8 #D8499A
square
#D8CF49 #49D888 #4952D8 #D8499A
split-complementary
#D8CF49 #499AD8 #8849D8
monochromatic
#89821D #BCB228 #D8CF49 #E3DC7B #EEEAAE

Accessibility & contrast

On white

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

On black

12.94
#D8CF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF49
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF49#FFFFFF#000000##000000
##D8CF491.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C836
Deuteranopia (green-blind)
#E4CE51
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf49;
/* rgb */ color: rgb(216, 207, 73);
/* oklch */ color: oklch(83.8% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e7dd83',
    500: '#d8cf49',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf49;
$custom-light: #e7dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf49",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 56.224,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83776,
    "c": 0.15138,
    "h": 105.5
  },
  "luminance": 0.59706
}

Semantic roles & 50–950 ramp

primary
#D8CF49
secondary
#363C8F
accent
#4BE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CF49

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

Preview Lab → · Contrast checker → · Palette generator →

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