#D5D45E#D5D45E

#D5D45E is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.140 H 108.6°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#D5D45E
RGBrgb(213, 212, 94)
HSLhsl(59, 59%, 60%)
HSVhsv(59, 56%, 84%)
CMYKcmyk(0%, 0.5%, 55.9%, 16.5%)
CIE-LABlab(82.94, -14.89, 57.33)
CIE-LCHlch(82.94, 59.23, 104.56°)
OKLaboklab(84.77% -0.0447 0.1328)
OKLCHoklch(84.77% 0.14 108.6)
XYZxyz(53.0059, 62.0427, 19.7707)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D45E #5E5FD5
analogous
#D5995E #D5D45E #9AD55E
triadic
#D5D45E #5ED5D4 #D45ED5
tetradic
#D5D45E #5ED599 #5E5FD5 #D55E9A
square
#D5D45E #5ED599 #5E5FD5 #D55E9A
split-complementary
#D5D45E #5E9AD5 #995ED5
monochromatic
#929126 #C3C233 #D5D45E #E2E18F #EEEEBF

Accessibility & contrast

On white

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

On black

13.41
#D5D45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D45E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D45E#FFFFFF#000000##000000
##D5D45E1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d45e;
/* rgb */ color: rgb(213, 212, 94);
/* oklch */ color: oklch(84.8% 0.140 108.6);
Tailwind
colors: {
  custom: {
    50: '#e4e190',
    500: '#d5d45e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d45e;
$custom-light: #e4e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d45e",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 59.496,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.14013,
    "h": 108.6
  },
  "luminance": 0.62041
}

Semantic roles & 50–950 ramp

primary
#D5D45E
secondary
#3F4098
accent
#21C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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