#D5D45F#D5D45F

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

Color values

HEX#D5D45F
RGBrgb(213, 212, 95)
HSLhsl(59, 58%, 60%)
HSVhsv(59, 55%, 84%)
CMYKcmyk(0%, 0.5%, 55.4%, 16.5%)
CIE-LABlab(82.95, -14.81, 56.89)
CIE-LCHlch(82.95, 58.79, 104.60°)
OKLaboklab(84.79% -0.0444 0.132)
OKLCHoklch(84.79% 0.139 108.6)
XYZxyz(53.0511, 62.0607, 20.0086)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D45F #5F60D5
analogous
#D5995F #D5D45F #9BD55F
triadic
#D5D45F #5FD5D4 #D45FD5
tetradic
#D5D45F #5FD599 #5F60D5 #D55F9B
square
#D5D45F #5FD599 #5F60D5 #D55F9B
split-complementary
#D5D45F #5F9BD5 #995FD5
monochromatic
#939227 #C3C233 #D5D45F #E2E18F #EEEEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D45F#FFFFFF#000000##000000
##D5D45F1.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)
#E3CC53
Deuteranopia (green-blind)
#E5D165
Tritanopia (blue-blind)
#E3C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d45f;
/* rgb */ color: rgb(213, 212, 95);
/* oklch */ color: oklch(84.8% 0.139 108.6);
Tailwind
colors: {
  custom: {
    50: '#e4e190',
    500: '#d5d45f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d45f;
$custom-light: #e4e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d45f",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 59.492,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84785,
    "c": 0.13925,
    "h": 108.6
  },
  "luminance": 0.62059
}

Semantic roles & 50–950 ramp

primary
#D5D45F
secondary
#404198
accent
#21C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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