#D4D258#D4D258

#D4D258 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.143 H 108.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D4D258
RGBrgb(212, 210, 88)
HSLhsl(59, 59%, 59%)
HSVhsv(59, 58%, 83%)
CMYKcmyk(0%, 0.9%, 58.5%, 16.9%)
CIE-LABlab(82.27, -14.74, 59.20)
CIE-LCHlch(82.27, 61.01, 103.98°)
OKLaboklab(84.21% -0.0448 0.1361)
OKLCHoklch(84.21% 0.143 108.2)
XYZxyz(51.9610, 60.7963, 18.2283)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D258 #585AD4
analogous
#D49458 #D4D258 #98D458
triadic
#D4D258 #58D4D2 #D258D4
tetradic
#D4D258 #58D494 #585AD4 #D45898
square
#D4D258 #58D494 #585AD4 #D45898
split-complementary
#D4D258 #5898D4 #9458D4
monochromatic
#8D8C24 #BEBC31 #D4D258 #E1DF89 #EDECB9

Accessibility & contrast

On white

1.60
#D4D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D4D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D258
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D258#FFFFFF#000000##000000
##D4D2581.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4A
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#E2C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d258;
/* rgb */ color: rgb(212, 210, 88);
/* oklch */ color: oklch(84.2% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#e4df8c',
    500: '#d4d258',
    950: '#000000',
  },
}
SCSS
$custom: #d4d258;
$custom-light: #e4df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d258",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 59.032,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84206,
    "c": 0.14329,
    "h": 108.2
  },
  "luminance": 0.60795
}

Semantic roles & 50–950 ramp

primary
#D4D258
secondary
#3D3E93
accent
#48E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D258

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

Preview Lab → · Contrast checker → · Palette generator →

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