#D5D45B#D5D45B

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

Color values

HEX#D5D45B
RGBrgb(213, 212, 91)
HSLhsl(60, 59%, 60%)
HSVhsv(60, 57%, 84%)
CMYKcmyk(0%, 0.5%, 57.3%, 16.5%)
CIE-LABlab(82.91, -15.11, 58.62)
CIE-LCHlch(82.91, 60.54, 104.45°)
OKLaboklab(84.74% -0.0456 0.1352)
OKLCHoklch(84.74% 0.143 108.7)
XYZxyz(52.8739, 61.9899, 19.0755)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D45B #5B5CD5
analogous
#D5975B #D5D45B #99D55B
triadic
#D5D45B #5BD5D4 #D45BD5
tetradic
#D5D45B #5BD597 #5B5CD5 #D55B99
square
#D5D45B #5BD597 #5B5CD5 #D55B99
split-complementary
#D5D45B #5B99D5 #975BD5
monochromatic
#919025 #C1C032 #D5D45B #E1E18C #EEEEBC

Accessibility & contrast

On white

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

On black

13.40
#D5D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D45B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D45B#FFFFFF#000000##000000
##D5D45B1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4E
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#E3C8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d45b;
/* rgb */ color: rgb(213, 212, 91);
/* oklch */ color: oklch(84.7% 0.143 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5e18e',
    500: '#d5d45b',
    950: '#000000',
  },
}
SCSS
$custom: #d5d45b;
$custom-light: #e5e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d45b",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 59.508,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84743,
    "c": 0.14271,
    "h": 108.7
  },
  "luminance": 0.61988
}

Semantic roles & 50–950 ramp

primary
#D5D45B
secondary
#3E3F96
accent
#47E245
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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