#D9C050#D9C050

#D9C050 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.133 H 96.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D9C050
RGBrgb(217, 192, 80)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11.5%, 63.1%, 14.9%)
CIE-LABlab(77.89, -4.03, 58.03)
CIE-LCHlch(77.89, 58.17, 93.97°)
OKLaboklab(80.81% -0.0155 0.1324)
OKLCHoklch(80.81% 0.133 96.7)
XYZxyz(48.9150, 53.0325, 15.2476)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C050 #5069D9
analogous
#D97B50 #D9C050 #ADD950
triadic
#D9C050 #50D9C0 #C050D9
tetradic
#D9C050 #50D97B #5069D9 #D950AD
square
#D9C050 #50D97B #5069D9 #D950AD
split-complementary
#D9C050 #50ADD9 #7B50D9
monochromatic
#8F7B1F #C2A62A #D9C050 #E4D282 #EFE4B5

Accessibility & contrast

On white

1.81
#D9C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D9C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C050
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C050#FFFFFF#000000##000000
##D9C0501.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#E9B3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c050;
/* rgb */ color: rgb(217, 192, 80);
/* oklch */ color: oklch(80.8% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#e8d286',
    500: '#d9c050',
    950: '#000000',
  },
}
SCSS
$custom: #d9c050;
$custom-light: #e8d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c050",
  "rgb": {
    "r": 217,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 49.051,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80809,
    "c": 0.13329,
    "h": 96.7
  },
  "luminance": 0.5303
}

Semantic roles & 50–950 ramp

primary
#D9C050
secondary
#384995
accent
#5FE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C050

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

Preview Lab → · Contrast checker → · Palette generator →

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