#D9C850#D9C850

#D9C850 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.5% C 0.140 H 101.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D9C850
RGBrgb(217, 200, 80)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 63%, 85%)
CMYKcmyk(0%, 7.8%, 63.1%, 14.9%)
CIE-LABlab(79.98, -8.14, 60.27)
CIE-LCHlch(79.98, 60.82, 97.69°)
OKLaboklab(82.46% -0.0273 0.1372)
OKLCHoklch(82.46% 0.14 101.2)
XYZxyz(50.7195, 56.6416, 15.8491)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C850 #5061D9
analogous
#D98350 #D9C850 #A5D950
triadic
#D9C850 #50D9C8 #C850D9
tetradic
#D9C850 #50D983 #5061D9 #D950A5
square
#D9C850 #50D983 #5061D9 #D950A5
split-complementary
#D9C850 #50A5D9 #8350D9
monochromatic
#8F821F #C2AF2A #D9C850 #E4D882 #EFE8B5

Accessibility & contrast

On white

1.70
#D9C850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D9C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C850
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C850#FFFFFF#000000##000000
##D9C8501.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#E9BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c850;
/* rgb */ color: rgb(217, 200, 80);
/* oklch */ color: oklch(82.5% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#e8d886',
    500: '#d9c850',
    950: '#000000',
  },
}
SCSS
$custom: #d9c850;
$custom-light: #e8d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c850",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 52.555,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82461,
    "c": 0.13983,
    "h": 101.2
  },
  "luminance": 0.56639
}

Semantic roles & 50–950 ramp

primary
#D9C850
secondary
#384495
accent
#55E740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C850

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

Preview Lab → · Contrast checker → · Palette generator →

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