#D1C44E#D1C44E

#D1C44E is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.138 H 103.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D1C44E
RGBrgb(209, 196, 78)
HSLhsl(54, 59%, 56%)
HSVhsv(54, 63%, 82%)
CMYKcmyk(0%, 6.2%, 62.7%, 18%)
CIE-LABlab(78.22, -9.58, 59.04)
CIE-LCHlch(78.22, 59.81, 99.22°)
OKLaboklab(80.9% -0.0311 0.1344)
OKLCHoklch(80.9% 0.138 103)
XYZxyz(47.4114, 53.5870, 15.0522)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C44E #4E5BD1
analogous
#D1834E #D1C44E #9DD14E
triadic
#D1C44E #4ED1C4 #C44ED1
tetradic
#D1C44E #4ED183 #4E5BD1 #D14E9D
square
#D1C44E #4ED183 #4E5BD1 #D14E9D
split-complementary
#D1C44E #4E9DD1 #834ED1
monochromatic
#837922 #B3A62F #D1C44E #DED47F #EAE4AF

Accessibility & contrast

On white

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

On black

11.72
#D1C44E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C44E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C44E#FFFFFF#000000##000000
##D1C44E1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c44e;
/* rgb */ color: rgb(209, 196, 78);
/* oklch */ color: oklch(80.9% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e2d585',
    500: '#d1c44e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c44e;
$custom-light: #e2d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c44e",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 78
  },
  "hsl": {
    "h": 54.046,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80895,
    "c": 0.138,
    "h": 103
  },
  "luminance": 0.53585
}

Semantic roles & 50–950 ramp

primary
#D1C44E
secondary
#39418A
accent
#55E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C44E

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

Preview Lab → · Contrast checker → · Palette generator →

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