#D5C24D#D5C24D

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

Color values

HEX#D5C24D
RGBrgb(213, 194, 77)
HSLhsl(52, 62%, 57%)
HSVhsv(52, 64%, 84%)
CMYKcmyk(0%, 8.9%, 63.8%, 16.5%)
CIE-LABlab(78.03, -6.94, 59.36)
CIE-LCHlch(78.03, 59.77, 96.67°)
OKLaboklab(80.83% -0.0239 0.1349)
OKLCHoklch(80.83% 0.137 100.1)
XYZxyz(48.0739, 53.2676, 14.7692)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C24D #4D60D5
analogous
#D57E4D #D5C24D #A4D54D
triadic
#D5C24D #4DD5C2 #C24DD5
tetradic
#D5C24D #4DD57E #4D60D5 #D54DA4
square
#D5C24D #4DD57E #4D60D5 #D54DA4
split-complementary
#D5C24D #4DA4D5 #7E4DD5
monochromatic
#887920 #B9A52C #D5C24D #E1D37F #ECE4B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C24D#FFFFFF#000000##000000
##D5C24D1.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)
#D3BD3F
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#E5B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c24d;
/* rgb */ color: rgb(213, 194, 77);
/* oklch */ color: oklch(80.8% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#e5d484',
    500: '#d5c24d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c24d;
$custom-light: #e5d484;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c24d",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 51.618,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80827,
    "c": 0.13701,
    "h": 100.1
  },
  "luminance": 0.53266
}

Semantic roles & 50–950 ramp

primary
#D5C24D
secondary
#38448E
accent
#5AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C24D

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

Preview Lab → · Contrast checker → · Palette generator →

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