#D1C44B#D1C44B

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

Color values

HEX#D1C44B
RGBrgb(209, 196, 75)
HSLhsl(54, 59%, 56%)
HSVhsv(54, 64%, 82%)
CMYKcmyk(0%, 6.2%, 64.1%, 18%)
CIE-LABlab(78.20, -9.77, 60.28)
CIE-LCHlch(78.20, 61.06, 99.21°)
OKLaboklab(80.87% -0.032 0.1366)
OKLCHoklch(80.87% 0.14 103.2)
XYZxyz(47.3063, 53.5450, 14.4986)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C44B #4B58D1
analogous
#D1814B #D1C44B #9BD14B
triadic
#D1C44B #4BD1C4 #C44BD1
tetradic
#D1C44B #4BD181 #4B58D1 #D14B9B
square
#D1C44B #4BD181 #4B58D1 #D14B9B
split-complementary
#D1C44B #4B9BD1 #814BD1
monochromatic
#817721 #B1A52D #D1C44B #DDD47C #EAE4AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C44B#FFFFFF#000000##000000
##D1C44B1.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)
#D5BE3C
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#E0B7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c44b;
/* rgb */ color: rgb(209, 196, 75);
/* oklch */ color: oklch(80.9% 0.140 103.2);
Tailwind
colors: {
  custom: {
    50: '#e2d583',
    500: '#d1c44b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c44b;
$custom-light: #e2d583;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c44b",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 75
  },
  "hsl": {
    "h": 54.179,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80868,
    "c": 0.14033,
    "h": 103.2
  },
  "luminance": 0.53543
}

Semantic roles & 50–950 ramp

primary
#D1C44B
secondary
#384088
accent
#55E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C44B

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

Preview Lab → · Contrast checker → · Palette generator →

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