#D1C850#D1C850

#D1C850 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.140 H 105.0°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D1C850
RGBrgb(209, 200, 80)
HSLhsl(56, 58%, 57%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 4.3%, 61.7%, 18%)
CIE-LABlab(79.30, -11.49, 59.34)
CIE-LCHlch(79.30, 60.44, 100.96°)
OKLaboklab(81.76% -0.0363 0.1354)
OKLCHoklch(81.76% 0.14 105)
XYZxyz(48.3985, 55.4447, 15.7403)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C850 #5059D1
analogous
#D18850 #D1C850 #9AD150
triadic
#D1C850 #50D1C8 #C850D1
tetradic
#D1C850 #50D188 #5059D1 #D1509A
square
#D1C850 #50D188 #5059D1 #D1509A
split-complementary
#D1C850 #509AD1 #8850D1
monochromatic
#847D23 #B4AB2F #D1C850 #DED780 #EAE6B1

Accessibility & contrast

On white

1.74
#D1C850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D1C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C850
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C850#FFFFFF#000000##000000
##D1C8501.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#E0BBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c850;
/* rgb */ color: rgb(209, 200, 80);
/* oklch */ color: oklch(81.8% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e2d886',
    500: '#d1c850',
    950: '#000000',
  },
}
SCSS
$custom: #d1c850;
$custom-light: #e2d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c850",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 55.814,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81757,
    "c": 0.14017,
    "h": 105
  },
  "luminance": 0.55443
}

Semantic roles & 50–950 ramp

primary
#D1C850
secondary
#3A408B
accent
#51E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C850

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

Preview Lab → · Contrast checker → · Palette generator →

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