#D0C050#D0C050

#D0C050 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.133 H 101.2°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D0C050
RGBrgb(208, 192, 80)
HSLhsl(53, 58%, 56%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 7.7%, 61.5%, 18.4%)
CIE-LABlab(77.10, -7.82, 56.93)
CIE-LCHlch(77.10, 57.46, 97.83°)
OKLaboklab(79.99% -0.0258 0.1303)
OKLCHoklch(79.99% 0.133 101.2)
XYZxyz(46.3118, 51.6902, 15.1256)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C050 #5060D0
analogous
#D08050 #D0C050 #A0D050
triadic
#D0C050 #50D0C0 #C050D0
tetradic
#D0C050 #50D080 #5060D0 #D050A0
square
#D0C050 #50D080 #5060D0 #D050A0
split-complementary
#D0C050 #50A0D0 #8050D0
monochromatic
#837723 #B3A230 #D0C050 #DDD180 #EAE3B0

Accessibility & contrast

On white

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

On black

11.34
#D0C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C050
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C050#FFFFFF#000000##000000
##D0C0501.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DFB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c050;
/* rgb */ color: rgb(208, 192, 80);
/* oklch */ color: oklch(80.0% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#e1d286',
    500: '#d0c050',
    950: '#000000',
  },
}
SCSS
$custom: #d0c050;
$custom-light: #e1d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c050",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 52.5,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79987,
    "c": 0.13282,
    "h": 101.2
  },
  "luminance": 0.51688
}

Semantic roles & 50–950 ramp

primary
#D0C050
secondary
#3B448A
accent
#5AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C050

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

Preview Lab → · Contrast checker → · Palette generator →

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