#D1C24A#D1C24A

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

Color values

HEX#D1C24A
RGBrgb(209, 194, 74)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.2%, 64.6%, 18%)
CIE-LABlab(77.66, -8.81, 60.13)
CIE-LCHlch(77.66, 60.77, 98.33°)
OKLaboklab(80.44% -0.0294 0.1362)
OKLCHoklch(80.44% 0.139 102.2)
XYZxyz(46.8242, 52.6352, 14.1704)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C24A #4A59D1
analogous
#D17E4A #D1C24A #9DD14A
triadic
#D1C24A #4AD1C2 #C24AD1
tetradic
#D1C24A #4AD17E #4A59D1 #D14A9D
square
#D1C24A #4AD17E #4A59D1 #D14A9D
split-complementary
#D1C24A #4A9DD1 #7E4AD1
monochromatic
#807521 #B1A22D #D1C24A #DDD27B #EAE3AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C24A#FFFFFF#000000##000000
##D1C24A1.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)
#D3BC3B
Deuteranopia (green-blind)
#D7C351
Tritanopia (blue-blind)
#E0B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c24a;
/* rgb */ color: rgb(209, 194, 74);
/* oklch */ color: oklch(80.4% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2d482',
    500: '#d1c24a',
    950: '#000000',
  },
}
SCSS
$custom: #d1c24a;
$custom-light: #e2d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c24a",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 53.333,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80439,
    "c": 0.1393,
    "h": 102.2
  },
  "luminance": 0.52633
}

Semantic roles & 50–950 ramp

primary
#D1C24A
secondary
#384187
accent
#57E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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