#D1C050#D1C050

#D1C050 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.133 H 100.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D1C050
RGBrgb(209, 192, 80)
HSLhsl(52, 58%, 57%)
HSVhsv(52, 62%, 82%)
CMYKcmyk(0%, 8.1%, 61.7%, 18%)
CIE-LABlab(77.18, -7.40, 57.05)
CIE-LCHlch(77.18, 57.53, 97.39°)
OKLaboklab(80.08% -0.0247 0.1305)
OKLCHoklch(80.08% 0.133 100.7)
XYZxyz(46.5939, 51.8357, 15.1388)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C050 #5061D1
analogous
#D18050 #D1C050 #A2D150
triadic
#D1C050 #50D1C0 #C050D1
tetradic
#D1C050 #50D180 #5061D1 #D150A2
square
#D1C050 #50D180 #5061D1 #D150A2
split-complementary
#D1C050 #50A2D1 #8050D1
monochromatic
#847723 #B4A32F #D1C050 #DED180 #EAE3B1

Accessibility & contrast

On white

1.85
#D1C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#D1C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C050
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C050#FFFFFF#000000##000000
##D1C0501.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#E0B3A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c050;
/* rgb */ color: rgb(209, 192, 80);
/* oklch */ color: oklch(80.1% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#e2d286',
    500: '#d1c050',
    950: '#000000',
  },
}
SCSS
$custom: #d1c050;
$custom-light: #e2d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c050",
  "rgb": {
    "r": 209,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 52.093,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80077,
    "c": 0.13283,
    "h": 100.7
  },
  "luminance": 0.51834
}

Semantic roles & 50–950 ramp

primary
#D1C050
secondary
#3A458B
accent
#5BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C050

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

Preview Lab → · Contrast checker → · Palette generator →

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