#D1C44A#D1C44A

#D1C44A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.141 H 103.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D1C44A
RGBrgb(209, 196, 74)
HSLhsl(54, 59%, 55%)
HSVhsv(54, 65%, 82%)
CMYKcmyk(0%, 6.2%, 64.6%, 18%)
CIE-LABlab(78.19, -9.83, 60.68)
CIE-LCHlch(78.19, 61.48, 99.20°)
OKLaboklab(80.86% -0.0323 0.1374)
OKLCHoklch(80.86% 0.141 103.2)
XYZxyz(47.2723, 53.5314, 14.3198)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C44A #4A57D1
analogous
#D1804A #D1C44A #9AD14A
triadic
#D1C44A #4AD1C4 #C44AD1
tetradic
#D1C44A #4AD180 #4A57D1 #D14A9A
square
#D1C44A #4AD180 #4A57D1 #D14A9A
split-complementary
#D1C44A #4A9AD1 #804AD1
monochromatic
#807721 #B1A42D #D1C44A #DDD47B #EAE4AC

Accessibility & contrast

On white

1.79
#D1C44A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#D1C44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C44A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C44A#FFFFFF#000000##000000
##D1C44A1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c44a;
/* rgb */ color: rgb(209, 196, 74);
/* oklch */ color: oklch(80.9% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#e2d582',
    500: '#d1c44a',
    950: '#000000',
  },
}
SCSS
$custom: #d1c44a;
$custom-light: #e2d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c44a",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 74
  },
  "hsl": {
    "h": 54.222,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.14109,
    "h": 103.2
  },
  "luminance": 0.5353
}

Semantic roles & 50–950 ramp

primary
#D1C44A
secondary
#383F87
accent
#54E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C44A

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

Preview Lab → · Contrast checker → · Palette generator →

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