#D4D95D#D4D95D

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

Color values

HEX#D4D95D
RGBrgb(212, 217, 93)
HSLhsl(62, 62%, 61%)
HSVhsv(62, 57%, 85%)
CMYKcmyk(2.3%, 0%, 57.1%, 14.9%)
CIE-LABlab(84.18, -17.85, 59.14)
CIE-LCHlch(84.18, 61.77, 106.79°)
OKLaboklab(85.75% -0.0531 0.1366)
OKLCHoklch(85.75% 0.147 111.3)
XYZxyz(53.9414, 64.4143, 19.9455)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D95D #625DD9
analogous
#D9A05D #D4D95D #96D95D
triadic
#D4D95D #5DD4D9 #D95DD4
tetradic
#D4D95D #5DD9A0 #625DD9 #D95D96
square
#D4D95D #5DD9A0 #625DD9 #D95D96
split-complementary
#D4D95D #5D96D9 #A05DD9
monochromatic
#939824 #C3CA2F #D4D95D #E1E58F #EEF0C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D95D#FFFFFF#000000##000000
##D4D95D1.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)
#E8D050
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#E1CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d95d;
/* rgb */ color: rgb(212, 217, 93);
/* oklch */ color: oklch(85.7% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e48f',
    500: '#d4d95d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d95d;
$custom-light: #e4e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d95d",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 62.419,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85746,
    "c": 0.14655,
    "h": 111.3
  },
  "luminance": 0.64413
}

Semantic roles & 50–950 ramp

primary
#D4D95D
secondary
#423E9C
accent
#1CCA23
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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