#D5D34F#D5D34F

#D5D34F is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.4% C 0.151 H 108.4°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#D5D34F
RGBrgb(213, 211, 79)
HSLhsl(59, 61%, 57%)
HSVhsv(59, 63%, 84%)
CMYKcmyk(0%, 0.9%, 62.9%, 16.5%)
CIE-LABlab(82.54, -15.42, 63.31)
CIE-LCHlch(82.54, 65.16, 103.69°)
OKLaboklab(84.42% -0.0478 0.1435)
OKLCHoklch(84.42% 0.151 108.4)
XYZxyz(52.1478, 61.3007, 16.4809)
Luminance0.6130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D34F #4F51D5
analogous
#D5904F #D5D34F #94D54F
triadic
#D5D34F #4FD5D3 #D34FD5
tetradic
#D5D34F #4FD590 #4F51D5 #D54F94
square
#D5D34F #4FD590 #4F51D5 #D54F94
split-complementary
#D5D34F #4F94D5 #904FD5
monochromatic
#898721 #BAB82C #D5D34F #E1DF80 #EDECB2

Accessibility & contrast

On white

1.58
#D5D34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#D5D34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D34F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D34F#FFFFFF#000000##000000
##D5D34F1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3E
Deuteranopia (green-blind)
#E5D057
Tritanopia (blue-blind)
#E3C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d34f;
/* rgb */ color: rgb(213, 211, 79);
/* oklch */ color: oklch(84.4% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e5e086',
    500: '#d5d34f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d34f;
$custom-light: #e5e086;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d34f",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 59.104,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84417,
    "c": 0.15128,
    "h": 108.4
  },
  "luminance": 0.61299
}

Semantic roles & 50–950 ramp

primary
#D5D34F
secondary
#393A8F
accent
#46E543
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D34F

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

Preview Lab → · Contrast checker → · Palette generator →

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