#D1C24B#D1C24B

#D1C24B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.139 H 102.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D1C24B
RGBrgb(209, 194, 75)
HSLhsl(53, 59%, 56%)
HSVhsv(53, 64%, 82%)
CMYKcmyk(0%, 7.2%, 64.1%, 18%)
CIE-LABlab(77.67, -8.75, 59.72)
CIE-LCHlch(77.67, 60.35, 98.33°)
OKLaboklab(80.45% -0.0291 0.1354)
OKLCHoklch(80.45% 0.139 102.1)
XYZxyz(46.8581, 52.6488, 14.3492)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C24B #4B5AD1
analogous
#D17F4B #D1C24B #9DD14B
triadic
#D1C24B #4BD1C2 #C24BD1
tetradic
#D1C24B #4BD17F #4B5AD1 #D14B9D
square
#D1C24B #4BD17F #4B5AD1 #D14B9D
split-complementary
#D1C24B #4B9DD1 #7F4BD1
monochromatic
#817621 #B1A32D #D1C24B #DDD37C #EAE3AC

Accessibility & contrast

On white

1.82
#D1C24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D1C24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C24B
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C24B#FFFFFF#000000##000000
##D1C24B1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3C
Deuteranopia (green-blind)
#D7C352
Tritanopia (blue-blind)
#E0B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c24b;
/* rgb */ color: rgb(209, 194, 75);
/* oklch */ color: oklch(80.4% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#e2d483',
    500: '#d1c24b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c24b;
$custom-light: #e2d483;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c24b",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 53.284,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80448,
    "c": 0.13854,
    "h": 102.1
  },
  "luminance": 0.52647
}

Semantic roles & 50–950 ramp

primary
#D1C24B
secondary
#384188
accent
#57E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C24B

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

Preview Lab → · Contrast checker → · Palette generator →

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