#D9C950#D9C950

#D9C950 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.141 H 101.8°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D9C950
RGBrgb(217, 201, 80)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 63%, 85%)
CMYKcmyk(0%, 7.4%, 63.1%, 14.9%)
CIE-LABlab(80.24, -8.65, 60.55)
CIE-LCHlch(80.24, 61.17, 98.13°)
OKLaboklab(82.67% -0.0287 0.1378)
OKLCHoklch(82.67% 0.141 101.8)
XYZxyz(50.9519, 57.1063, 15.9266)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C950 #5060D9
analogous
#D98450 #D9C950 #A4D950
triadic
#D9C950 #50D9C9 #C950D9
tetradic
#D9C950 #50D984 #5060D9 #D950A4
square
#D9C950 #50D984 #5060D9 #D950A4
split-complementary
#D9C950 #50A4D9 #8450D9
monochromatic
#8F821F #C2B02A #D9C950 #E4D982 #EFE8B5

Accessibility & contrast

On white

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

On black

12.42
#D9C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C950
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C950#FFFFFF#000000##000000
##D9C9501.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#E9BCB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c950;
/* rgb */ color: rgb(217, 201, 80);
/* oklch */ color: oklch(82.7% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8d986',
    500: '#d9c950',
    950: '#000000',
  },
}
SCSS
$custom: #d9c950;
$custom-light: #e8d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c950",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 52.993,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82669,
    "c": 0.14071,
    "h": 101.8
  },
  "luminance": 0.57104
}

Semantic roles & 50–950 ramp

primary
#D9C950
secondary
#384395
accent
#54E740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C950

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

Preview Lab → · Contrast checker → · Palette generator →

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