#D9C949#D9C949

#D9C949 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.146 H 102.1°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D9C949
RGBrgb(217, 201, 73)
HSLhsl(53, 65%, 57%)
HSVhsv(53, 66%, 85%)
CMYKcmyk(0%, 7.4%, 66.4%, 14.9%)
CIE-LABlab(80.18, -9.07, 63.39)
CIE-LCHlch(80.18, 64.03, 98.14°)
OKLaboklab(82.61% -0.0307 0.1427)
OKLCHoklch(82.61% 0.146 102.1)
XYZxyz(50.7066, 57.0081, 14.6348)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C949 #4959D9
analogous
#D98149 #D9C949 #A1D949
triadic
#D9C949 #49D9C9 #C949D9
tetradic
#D9C949 #49D981 #4959D9 #D949A1
square
#D9C949 #49D981 #4959D9 #D949A1
split-complementary
#D9C949 #49A1D9 #8149D9
monochromatic
#8B7E1D #BDAD28 #D9C949 #E4D87C #EEE7AE

Accessibility & contrast

On white

1.69
#D9C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D9C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C949
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C949#FFFFFF#000000##000000
##D9C9491.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#E0CA51
Tritanopia (blue-blind)
#E9BBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c949;
/* rgb */ color: rgb(217, 201, 73);
/* oklch */ color: oklch(82.6% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#e8d982',
    500: '#d9c949',
    950: '#000000',
  },
}
SCSS
$custom: #d9c949;
$custom-light: #e8d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c949",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 53.333,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82607,
    "c": 0.14593,
    "h": 102.1
  },
  "luminance": 0.57006
}

Semantic roles & 50–950 ramp

primary
#D9C949
secondary
#364091
accent
#52E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C949

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

Preview Lab → · Contrast checker → · Palette generator →

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