#D5C24F#D5C24F

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

Color values

HEX#D5C24F
RGBrgb(213, 194, 79)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 63%, 84%)
CMYKcmyk(0%, 8.9%, 62.9%, 16.5%)
CIE-LABlab(78.05, -6.81, 58.52)
CIE-LCHlch(78.05, 58.92, 96.64°)
OKLaboklab(80.85% -0.0233 0.1334)
OKLCHoklch(80.85% 0.135 99.9)
XYZxyz(48.1456, 53.2963, 15.1468)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C24F #4F62D5
analogous
#D57F4F #D5C24F #A5D54F
triadic
#D5C24F #4FD5C2 #C24FD5
tetradic
#D5C24F #4FD57F #4F62D5 #D54FA5
square
#D5C24F #4FD57F #4F62D5 #D54FA5
split-complementary
#D5C24F #4FA5D5 #7F4FD5
monochromatic
#897A21 #BAA62C #D5C24F #E1D380 #EDE4B2

Accessibility & contrast

On white

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

On black

11.66
#D5C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C24F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C24F#FFFFFF#000000##000000
##D5C24F1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD42
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#E5B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c24f;
/* rgb */ color: rgb(213, 194, 79);
/* oklch */ color: oklch(80.8% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#e5d485',
    500: '#d5c24f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c24f;
$custom-light: #e5d485;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c24f",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 51.493,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80845,
    "c": 0.13544,
    "h": 99.9
  },
  "luminance": 0.53294
}

Semantic roles & 50–950 ramp

primary
#D5C24F
secondary
#39458F
accent
#5AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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