#D8CF50#D8CF50

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

Color values

HEX#D8CF50
RGBrgb(216, 207, 80)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 4.2%, 63%, 15.3%)
CIE-LABlab(81.73, -12.11, 62.12)
CIE-LCHlch(81.73, 63.29, 101.03°)
OKLaboklab(83.84% -0.0385 0.1411)
OKLCHoklch(83.84% 0.146 105.3)
XYZxyz(52.0816, 59.8056, 16.3881)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF50 #5059D8
analogous
#D88B50 #D8CF50 #9DD850
triadic
#D8CF50 #50D8CF #CF50D8
tetradic
#D8CF50 #50D88B #5059D8 #D8509D
square
#D8CF50 #50D88B #5059D8 #D8509D
split-complementary
#D8CF50 #509DD8 #8B50D8
monochromatic
#8E8720 #C0B62B #D8CF50 #E3DD82 #EEEAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CF50#FFFFFF#000000##000000
##D8CF501.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)
#E0C840
Deuteranopia (green-blind)
#E3CE57
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf50;
/* rgb */ color: rgb(216, 207, 80);
/* oklch */ color: oklch(83.8% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e7dd87',
    500: '#d8cf50',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf50;
$custom-light: #e7dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf50",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 56.029,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83835,
    "c": 0.14625,
    "h": 105.3
  },
  "luminance": 0.59804
}

Semantic roles & 50–950 ramp

primary
#D8CF50
secondary
#393F94
accent
#4CE741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CF50

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

Preview Lab → · Contrast checker → · Palette generator →

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