#D5D54B#D5D54B

#D5D54B is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.8% C 0.156 H 109.3°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D5D54B
RGBrgb(213, 213, 75)
HSLhsl(60, 62%, 56%)
HSVhsv(60, 65%, 84%)
CMYKcmyk(0%, 0%, 64.8%, 16.5%)
CIE-LABlab(83.04, -16.65, 65.44)
CIE-LCHlch(83.04, 67.52, 104.27°)
OKLaboklab(84.81% -0.0517 0.1474)
OKLCHoklch(84.81% 0.156 109.3)
XYZxyz(52.5065, 62.2441, 15.9037)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D54B #4B4BD5
analogous
#D5904B #D5D54B #90D54B
triadic
#D5D54B #4BD5D5 #D54BD5
tetradic
#D5D54B #4BD590 #4B4BD5 #D54B90
square
#D5D54B #4BD590 #4B4BD5 #D54B90
split-complementary
#D5D54B #4B90D5 #904BD5
monochromatic
#86861F #B8B82B #D5D54B #E1E17D #ECECAE

Accessibility & contrast

On white

1.56
#D5D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D5D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D54B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D54B#FFFFFF#000000##000000
##D5D54B1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC38
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#E3C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d54b;
/* rgb */ color: rgb(213, 213, 75);
/* oklch */ color: oklch(84.8% 0.156 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e184',
    500: '#d5d54b',
    950: '#000000',
  },
}
SCSS
$custom: #d5d54b;
$custom-light: #e5e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d54b",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84809,
    "c": 0.15621,
    "h": 109.3
  },
  "luminance": 0.62243
}

Semantic roles & 50–950 ramp

primary
#D5D54B
secondary
#37378D
accent
#43E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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