#D9C450#D9C450

#D9C450 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.136 H 99.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D9C450
RGBrgb(217, 196, 80)
HSLhsl(51, 64%, 58%)
HSVhsv(51, 63%, 85%)
CMYKcmyk(0%, 9.7%, 63.1%, 14.9%)
CIE-LABlab(78.93, -6.09, 59.15)
CIE-LCHlch(78.93, 59.46, 95.88°)
OKLaboklab(81.63% -0.0214 0.1348)
OKLCHoklch(81.63% 0.136 99)
XYZxyz(49.8053, 54.8130, 15.5444)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C450 #5065D9
analogous
#D97F50 #D9C450 #A9D950
triadic
#D9C450 #50D9C4 #C450D9
tetradic
#D9C450 #50D97F #5065D9 #D950A9
square
#D9C450 #50D97F #5065D9 #D950A9
split-complementary
#D9C450 #50A9D9 #7F50D9
monochromatic
#8F7E1F #C2AA2A #D9C450 #E4D582 #EFE6B5

Accessibility & contrast

On white

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

On black

11.96
#D9C450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C450
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C450#FFFFFF#000000##000000
##D9C4501.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#E9B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c450;
/* rgb */ color: rgb(217, 196, 80);
/* oklch */ color: oklch(81.6% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#e8d586',
    500: '#d9c450',
    950: '#000000',
  },
}
SCSS
$custom: #d9c450;
$custom-light: #e8d586;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c450",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 50.803,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.13646,
    "h": 99
  },
  "luminance": 0.54811
}

Semantic roles & 50–950 ramp

primary
#D9C450
secondary
#384795
accent
#5AE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C450

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

Preview Lab → · Contrast checker → · Palette generator →

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