#D9C448#D9C448

#D9C448 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.142 H 99.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D9C448
RGBrgb(217, 196, 72)
HSLhsl(51, 66%, 57%)
HSVhsv(51, 67%, 85%)
CMYKcmyk(0%, 9.7%, 66.8%, 14.9%)
CIE-LABlab(78.87, -6.57, 62.43)
CIE-LCHlch(78.87, 62.78, 96.01°)
OKLaboklab(81.56% -0.0237 0.1405)
OKLCHoklch(81.56% 0.142 99.6)
XYZxyz(49.5271, 54.7017, 14.0793)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C448 #485DD9
analogous
#D97C48 #D9C448 #A6D948
triadic
#D9C448 #48D9C4 #C448D9
tetradic
#D9C448 #48D97C #485DD9 #D948A6
square
#D9C448 #48D97C #485DD9 #D948A6
split-complementary
#D9C448 #48A6D9 #7C48D9
monochromatic
#8A7A1D #BDA727 #D9C448 #E4D47B #EEE5AD

Accessibility & contrast

On white

1.76
#D9C448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D9C448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C448
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C448#FFFFFF#000000##000000
##D9C4481.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF38
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#E9B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c448;
/* rgb */ color: rgb(217, 196, 72);
/* oklch */ color: oklch(81.6% 0.142 99.6);
Tailwind
colors: {
  custom: {
    50: '#e8d581',
    500: '#d9c448',
    950: '#000000',
  },
}
SCSS
$custom: #d9c448;
$custom-light: #e8d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c448",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 51.31,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81561,
    "c": 0.14247,
    "h": 99.6
  },
  "luminance": 0.54699
}

Semantic roles & 50–950 ramp

primary
#D9C448
secondary
#354290
accent
#58E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C448

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

Preview Lab → · Contrast checker → · Palette generator →

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