#D1C950#D1C950

#D1C950 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.141 H 105.5°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D1C950
RGBrgb(209, 201, 80)
HSLhsl(56, 58%, 57%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 3.8%, 61.7%, 18%)
CIE-LABlab(79.56, -12.00, 59.62)
CIE-LCHlch(79.56, 60.82, 101.38°)
OKLaboklab(81.97% -0.0378 0.136)
OKLCHoklch(81.97% 0.141 105.5)
XYZxyz(48.6308, 55.9094, 15.8178)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C950 #5058D1
analogous
#D18950 #D1C950 #99D150
triadic
#D1C950 #50D1C9 #C950D1
tetradic
#D1C950 #50D189 #5058D1 #D15099
square
#D1C950 #50D189 #5058D1 #D15099
split-complementary
#D1C950 #5099D1 #8950D1
monochromatic
#847E23 #B4AC2F #D1C950 #DED880 #EAE7B1

Accessibility & contrast

On white

1.72
#D1C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D1C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C950
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C950#FFFFFF#000000##000000
##D1C9501.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#DFBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c950;
/* rgb */ color: rgb(209, 201, 80);
/* oklch */ color: oklch(82.0% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#e2d986',
    500: '#d1c950',
    950: '#000000',
  },
}
SCSS
$custom: #d1c950;
$custom-light: #e2d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c950",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 56.279,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81968,
    "c": 0.14114,
    "h": 105.5
  },
  "luminance": 0.55908
}

Semantic roles & 50–950 ramp

primary
#D1C950
secondary
#3A3F8B
accent
#50E246
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C950

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

Preview Lab → · Contrast checker → · Palette generator →

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