#D5C24B#D5C24B

#D5C24B is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.139 H 100.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D5C24B
RGBrgb(213, 194, 75)
HSLhsl(52, 62%, 56%)
HSVhsv(52, 65%, 84%)
CMYKcmyk(0%, 8.9%, 64.8%, 16.5%)
CIE-LABlab(78.02, -7.06, 60.19)
CIE-LCHlch(78.02, 60.60, 96.69°)
OKLaboklab(80.81% -0.0245 0.1364)
OKLCHoklch(80.81% 0.139 100.2)
XYZxyz(48.0044, 53.2398, 14.4030)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C24B #4B5ED5
analogous
#D57D4B #D5C24B #A3D54B
triadic
#D5C24B #4BD5C2 #C24BD5
tetradic
#D5C24B #4BD57D #4B5ED5 #D54BA3
square
#D5C24B #4BD57D #4B5ED5 #D54BA3
split-complementary
#D5C24B #4BA3D5 #7D4BD5
monochromatic
#86781F #B8A42B #D5C24B #E1D37D #ECE4AE

Accessibility & contrast

On white

1.80
#D5C24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D5C24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C24B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C24B#FFFFFF#000000##000000
##D5C24B1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3C
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#E5B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c24b;
/* rgb */ color: rgb(213, 194, 75);
/* oklch */ color: oklch(80.8% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#e5d483',
    500: '#d5c24b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c24b;
$custom-light: #e5d483;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c24b",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 51.739,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.13853,
    "h": 100.2
  },
  "luminance": 0.53238
}

Semantic roles & 50–950 ramp

primary
#D5C24B
secondary
#37438D
accent
#59E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C24B

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

Preview Lab → · Contrast checker → · Palette generator →

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