#D4D85B#D4D85B

#D4D85B is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.147 H 110.8°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D4D85B
RGBrgb(212, 216, 91)
HSLhsl(62, 62%, 60%)
HSVhsv(62, 58%, 85%)
CMYKcmyk(1.9%, 0%, 57.9%, 15.3%)
CIE-LABlab(83.90, -17.50, 59.69)
CIE-LCHlch(83.90, 62.21, 106.34°)
OKLaboklab(85.51% -0.0524 0.1375)
OKLCHoklch(85.51% 0.147 110.8)
XYZxyz(53.5970, 63.8654, 19.3994)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D85B #5F5BD8
analogous
#D89D5B #D4D85B #95D85B
triadic
#D4D85B #5BD4D8 #D85BD4
tetradic
#D4D85B #5BD89D #5F5BD8 #D85B95
square
#D4D85B #5BD89D #5F5BD8 #D85B95
split-complementary
#D4D85B #5B95D8 #9D5BD8
monochromatic
#919523 #C2C72F #D4D85B #E1E48C #EEF0BE

Accessibility & contrast

On white

1.52
#D4D85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D4D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D85B
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D85B#FFFFFF#000000##000000
##D4D85B1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E8D362
Tritanopia (blue-blind)
#E1CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d85b;
/* rgb */ color: rgb(212, 216, 91);
/* oklch */ color: oklch(85.5% 0.147 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e38e',
    500: '#d4d85b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d85b;
$custom-light: #e4e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d85b",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 61.92,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85512,
    "c": 0.14715,
    "h": 110.8
  },
  "luminance": 0.63864
}

Semantic roles & 50–950 ramp

primary
#D4D85B
secondary
#403D9A
accent
#1CC922
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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