#D5C24A#D5C24A

#D5C24A 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.64:1 contrast (WCAG AA passes).

Color values

HEX#D5C24A
RGBrgb(213, 194, 74)
HSLhsl(52, 62%, 56%)
HSVhsv(52, 65%, 84%)
CMYKcmyk(0%, 8.9%, 65.3%, 16.5%)
CIE-LABlab(78.01, -7.12, 60.60)
CIE-LCHlch(78.01, 61.02, 96.70°)
OKLaboklab(80.8% -0.0248 0.1371)
OKLCHoklch(80.8% 0.139 100.2)
XYZxyz(47.9704, 53.2262, 14.2241)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C24A #4A5DD5
analogous
#D57D4A #D5C24A #A3D54A
triadic
#D5C24A #4AD5C2 #C24AD5
tetradic
#D5C24A #4AD57D #4A5DD5 #D54AA3
square
#D5C24A #4AD57D #4A5DD5 #D54AA3
split-complementary
#D5C24A #4AA3D5 #7D4AD5
monochromatic
#86781F #B7A42B #D5C24A #E1D37C #ECE3AD

Accessibility & contrast

On white

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

On black

11.64
#D5C24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C24A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C24A#FFFFFF#000000##000000
##D5C24A1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c24a;
/* rgb */ color: rgb(213, 194, 74);
/* oklch */ color: oklch(80.8% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#e5d482',
    500: '#d5c24a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c24a;
$custom-light: #e5d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c24a",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 51.799,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80799,
    "c": 0.13928,
    "h": 100.2
  },
  "luminance": 0.53224
}

Semantic roles & 50–950 ramp

primary
#D5C24A
secondary
#37438C
accent
#59E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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