#D9C249#D9C249

#D9C249 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.140 H 98.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D9C249
RGBrgb(217, 194, 73)
HSLhsl(50, 65%, 57%)
HSVhsv(50, 66%, 85%)
CMYKcmyk(0%, 10.6%, 66.4%, 14.9%)
CIE-LABlab(78.36, -5.48, 61.49)
CIE-LCHlch(78.36, 61.73, 95.10°)
OKLaboklab(81.16% -0.0205 0.1387)
OKLCHoklch(81.16% 0.14 98.4)
XYZxyz(49.1119, 53.8186, 14.1032)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C249 #4960D9
analogous
#D97A49 #D9C249 #A8D949
triadic
#D9C249 #49D9C2 #C249D9
tetradic
#D9C249 #49D97A #4960D9 #D949A8
square
#D9C249 #49D97A #4960D9 #D949A8
split-complementary
#D9C249 #49A8D9 #7A49D9
monochromatic
#8B791D #BDA528 #D9C249 #E4D37C #EEE4AE

Accessibility & contrast

On white

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

On black

11.76
#D9C249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C249
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C249#FFFFFF#000000##000000
##D9C2491.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD39
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#E9B4A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c249;
/* rgb */ color: rgb(217, 194, 73);
/* oklch */ color: oklch(81.2% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#e8d482',
    500: '#d9c249',
    950: '#000000',
  },
}
SCSS
$custom: #d9c249;
$custom-light: #e8d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c249",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 50.417,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81157,
    "c": 0.14016,
    "h": 98.4
  },
  "luminance": 0.53816
}

Semantic roles & 50–950 ramp

primary
#D9C249
secondary
#364491
accent
#5AE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C249

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

Preview Lab → · Contrast checker → · Palette generator →

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