#D8CF55#D8CF55

#D8CF55 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.142 H 105.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D8CF55
RGBrgb(216, 207, 85)
HSLhsl(56, 63%, 59%)
HSVhsv(56, 61%, 85%)
CMYKcmyk(0%, 4.2%, 60.6%, 15.3%)
CIE-LABlab(81.77, -11.79, 60.05)
CIE-LCHlch(81.77, 61.19, 101.11°)
OKLaboklab(83.88% -0.037 0.1374)
OKLCHoklch(83.88% 0.142 105.1)
XYZxyz(52.2732, 59.8823, 17.3975)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF55 #555ED8
analogous
#D88E55 #D8CF55 #A0D855
triadic
#D8CF55 #55D8CF #CF55D8
tetradic
#D8CF55 #55D88E #555ED8 #D855A0
square
#D8CF55 #55D88E #555ED8 #D855A0
split-complementary
#D8CF55 #55A0D8 #8E55D8
monochromatic
#918A21 #C3B92D #D8CF55 #E3DD87 #EFEBB9

Accessibility & contrast

On white

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

On black

12.98
#D8CF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF55
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF55#FFFFFF#000000##000000
##D8CF551.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C847
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#E7C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf55;
/* rgb */ color: rgb(216, 207, 85);
/* oklch */ color: oklch(83.9% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#e7dd8a',
    500: '#d8cf55',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf55;
$custom-light: #e7dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf55",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 55.878,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83882,
    "c": 0.14231,
    "h": 105.1
  },
  "luminance": 0.5988
}

Semantic roles & 50–950 ramp

primary
#D8CF55
secondary
#3B4196
accent
#4DE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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