#D1C14A#D1C14A

#D1C14A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.138 H 101.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D1C14A
RGBrgb(209, 193, 74)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.7%, 64.6%, 18%)
CIE-LABlab(77.40, -8.30, 59.85)
CIE-LCHlch(77.40, 60.42, 97.89°)
OKLaboklab(80.23% -0.0279 0.1356)
OKLCHoklch(80.23% 0.138 101.6)
XYZxyz(46.6024, 52.1916, 14.0965)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C14A #4A5AD1
analogous
#D17D4A #D1C14A #9DD14A
triadic
#D1C14A #4AD1C1 #C14AD1
tetradic
#D1C14A #4AD17D #4A5AD1 #D14A9D
square
#D1C14A #4AD17D #4A5AD1 #D14A9D
split-complementary
#D1C14A #4A9DD1 #7D4AD1
monochromatic
#807521 #B1A12D #D1C14A #DDD27B #EAE2AC

Accessibility & contrast

On white

1.84
#D1C14A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D1C14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C14A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C14A#FFFFFF#000000##000000
##D1C14A1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3B
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#E0B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c14a;
/* rgb */ color: rgb(209, 193, 74);
/* oklch */ color: oklch(80.2% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#e2d382',
    500: '#d1c14a',
    950: '#000000',
  },
}
SCSS
$custom: #d1c14a;
$custom-light: #e2d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c14a",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 74
  },
  "hsl": {
    "h": 52.889,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80229,
    "c": 0.13842,
    "h": 101.6
  },
  "luminance": 0.5219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C14A

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

Preview Lab → · Contrast checker → · Palette generator →

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