#D1C149#D1C149

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

Color values

HEX#D1C149
RGBrgb(209, 193, 73)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.7%, 65.1%, 18%)
CIE-LABlab(77.39, -8.36, 60.26)
CIE-LCHlch(77.39, 60.84, 97.89°)
OKLaboklab(80.22% -0.0282 0.1363)
OKLCHoklch(80.22% 0.139 101.7)
XYZxyz(46.5690, 52.1782, 13.9204)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C149 #4959D1
analogous
#D17D49 #D1C149 #9DD149
triadic
#D1C149 #49D1C1 #C149D1
tetradic
#D1C149 #49D17D #4959D1 #D1499D
square
#D1C149 #49D17D #4959D1 #D1499D
split-complementary
#D1C149 #499DD1 #7D49D1
monochromatic
#7F7420 #B0A12D #D1C149 #DDD27A #EAE2AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C149#FFFFFF#000000##000000
##D1C1491.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)
#D2BB3A
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#E0B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c149;
/* rgb */ color: rgb(209, 193, 73);
/* oklch */ color: oklch(80.2% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#e2d381',
    500: '#d1c149',
    950: '#000000',
  },
}
SCSS
$custom: #d1c149;
$custom-light: #e2d381;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c149",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 52.941,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8022,
    "c": 0.13917,
    "h": 101.7
  },
  "luminance": 0.52176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C149

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

Preview Lab → · Contrast checker → · Palette generator →

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