#D5D34B#D5D34B

#D5D34B is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.154 H 108.5°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D5D34B
RGBrgb(213, 211, 75)
HSLhsl(59, 62%, 56%)
HSVhsv(59, 65%, 84%)
CMYKcmyk(0%, 0.9%, 64.8%, 16.5%)
CIE-LABlab(82.51, -15.66, 64.89)
CIE-LCHlch(82.51, 66.75, 103.56°)
OKLaboklab(84.38% -0.0489 0.1463)
OKLCHoklch(84.38% 0.154 108.5)
XYZxyz(52.0066, 61.2442, 15.7370)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D34B #4B4DD5
analogous
#D58E4B #D5D34B #92D54B
triadic
#D5D34B #4BD5D3 #D34BD5
tetradic
#D5D34B #4BD58E #4B4DD5 #D54B92
square
#D5D34B #4BD58E #4B4DD5 #D54B92
split-complementary
#D5D34B #4B92D5 #8E4BD5
monochromatic
#86851F #B8B62B #D5D34B #E1DF7D #ECEBAE

Accessibility & contrast

On white

1.59
#D5D34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D5D34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D34B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D34B#FFFFFF#000000##000000
##D5D34B1.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB38
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#E4C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d34b;
/* rgb */ color: rgb(213, 211, 75);
/* oklch */ color: oklch(84.4% 0.154 108.5);
Tailwind
colors: {
  custom: {
    50: '#e5e084',
    500: '#d5d34b',
    950: '#000000',
  },
}
SCSS
$custom: #d5d34b;
$custom-light: #e5e084;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d34b",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 75
  },
  "hsl": {
    "h": 59.13,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84383,
    "c": 0.15421,
    "h": 108.5
  },
  "luminance": 0.61243
}

Semantic roles & 50–950 ramp

primary
#D5D34B
secondary
#37398D
accent
#45E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D34B

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

Preview Lab → · Contrast checker → · Palette generator →

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