#D4D95B#D4D95B

#D4D95B is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.148 H 111.3°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D4D95B
RGBrgb(212, 217, 91)
HSLhsl(62, 62%, 60%)
HSVhsv(62, 58%, 85%)
CMYKcmyk(2.3%, 0%, 58.1%, 14.9%)
CIE-LABlab(84.16, -17.99, 59.99)
CIE-LCHlch(84.16, 62.63, 106.70°)
OKLaboklab(85.73% -0.0537 0.1382)
OKLCHoklch(85.73% 0.148 111.3)
XYZxyz(53.8540, 64.3793, 19.4850)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D95B #605BD9
analogous
#D99F5B #D4D95B #95D95B
triadic
#D4D95B #5BD4D9 #D95BD4
tetradic
#D4D95B #5BD99F #605BD9 #D95B95
square
#D4D95B #5BD99F #605BD9 #D95B95
split-complementary
#D4D95B #5B95D9 #9F5BD9
monochromatic
#929723 #C2C82E #D4D95B #E1E58D #EEF0BE

Accessibility & contrast

On white

1.51
#D4D95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D4D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D95B
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D95B#FFFFFF#000000##000000
##D4D95B1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#E9D462
Tritanopia (blue-blind)
#E1CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d95b;
/* rgb */ color: rgb(212, 217, 91);
/* oklch */ color: oklch(85.7% 0.148 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e48e',
    500: '#d4d95b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d95b;
$custom-light: #e4e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d95b",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 62.381,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85725,
    "c": 0.14824,
    "h": 111.3
  },
  "luminance": 0.64378
}

Semantic roles & 50–950 ramp

primary
#D4D95B
secondary
#413D9B
accent
#1BCA22
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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