#D7D458#D7D458

#D7D458 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.145 H 107.8°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D7D458
RGBrgb(215, 212, 88)
HSLhsl(59, 61%, 59%)
HSVhsv(59, 59%, 84%)
CMYKcmyk(0%, 1.4%, 59.1%, 15.7%)
CIE-LABlab(83.04, -14.50, 60.12)
CIE-LCHlch(83.04, 61.84, 103.56°)
OKLaboklab(84.88% -0.0444 0.138)
OKLCHoklch(84.88% 0.145 107.8)
XYZxyz(53.3309, 62.2402, 18.4349)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D458 #585BD7
analogous
#D79558 #D7D458 #9AD758
triadic
#D7D458 #58D7D4 #D458D7
tetradic
#D7D458 #58D795 #585BD7 #D7589A
square
#D7D458 #58D795 #585BD7 #D7589A
split-complementary
#D7D458 #589AD7 #9558D7
monochromatic
#928F23 #C3C02F #D7D458 #E3E189 #EFEDBB

Accessibility & contrast

On white

1.56
#D7D458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D7D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D458
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D458#FFFFFF#000000##000000
##D7D4581.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#E5C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d458;
/* rgb */ color: rgb(215, 212, 88);
/* oklch */ color: oklch(84.9% 0.145 107.8);
Tailwind
colors: {
  custom: {
    50: '#e6e18c',
    500: '#d7d458',
    950: '#000000',
  },
}
SCSS
$custom: #d7d458;
$custom-light: #e6e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d458",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 58.583,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84879,
    "c": 0.14493,
    "h": 107.8
  },
  "luminance": 0.62239
}

Semantic roles & 50–950 ramp

primary
#D7D458
secondary
#3C3E97
accent
#47E443
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D458

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

Preview Lab → · Contrast checker → · Palette generator →

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