#D5D458#D5D458

#D5D458 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.7% C 0.145 H 108.7°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D5D458
RGBrgb(213, 212, 88)
HSLhsl(60, 60%, 59%)
HSVhsv(60, 59%, 84%)
CMYKcmyk(0%, 0.5%, 58.7%, 16.5%)
CIE-LABlab(82.88, -15.32, 59.90)
CIE-LCHlch(82.88, 61.83, 104.35°)
OKLaboklab(84.71% -0.0466 0.1376)
OKLCHoklch(84.71% 0.145 108.7)
XYZxyz(52.7471, 61.9391, 18.4075)
Luminance0.6194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D458 #5859D5
analogous
#D59658 #D5D458 #98D558
triadic
#D5D458 #58D5D4 #D458D5
tetradic
#D5D458 #58D596 #5859D5 #D55898
square
#D5D458 #58D596 #5859D5 #D55898
split-complementary
#D5D458 #5898D5 #9658D5
monochromatic
#8F8E24 #C0BE30 #D5D458 #E1E189 #EEEDBA

Accessibility & contrast

On white

1.57
#D5D458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D5D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D458
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D458#FFFFFF#000000##000000
##D5D4581.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#E6D05F
Tritanopia (blue-blind)
#E3C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d458;
/* rgb */ color: rgb(213, 212, 88);
/* oklch */ color: oklch(84.7% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5e18c',
    500: '#d5d458',
    950: '#000000',
  },
}
SCSS
$custom: #d5d458;
$custom-light: #e5e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d458",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 59.52,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84713,
    "c": 0.14522,
    "h": 108.7
  },
  "luminance": 0.61938
}

Semantic roles & 50–950 ramp

primary
#D5D458
secondary
#3D3E94
accent
#46E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D458

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

Preview Lab → · Contrast checker → · Palette generator →

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