#D0C150#D0C150

#D0C150 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.134 H 101.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D0C150
RGBrgb(208, 193, 80)
HSLhsl(53, 58%, 56%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 7.2%, 61.5%, 18.4%)
CIE-LABlab(77.36, -8.34, 57.22)
CIE-LCHlch(77.36, 57.82, 98.29°)
OKLaboklab(80.2% -0.0273 0.1309)
OKLCHoklch(80.2% 0.134 101.8)
XYZxyz(46.5321, 52.1309, 15.1991)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C150 #505FD0
analogous
#D08150 #D0C150 #9FD050
triadic
#D0C150 #50D0C1 #C150D0
tetradic
#D0C150 #50D081 #505FD0 #D0509F
square
#D0C150 #50D081 #505FD0 #D0509F
split-complementary
#D0C150 #509FD0 #8150D0
monochromatic
#837723 #B3A330 #D0C150 #DDD280 #EAE3B0

Accessibility & contrast

On white

1.84
#D0C150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D0C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C150
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C150#FFFFFF#000000##000000
##D0C1501.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c150;
/* rgb */ color: rgb(208, 193, 80);
/* oklch */ color: oklch(80.2% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#e1d386',
    500: '#d0c150',
    950: '#000000',
  },
}
SCSS
$custom: #d0c150;
$custom-light: #e1d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c150",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 52.969,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80196,
    "c": 0.13371,
    "h": 101.8
  },
  "luminance": 0.52129
}

Semantic roles & 50–950 ramp

primary
#D0C150
secondary
#3B448A
accent
#59E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C150

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

Preview Lab → · Contrast checker → · Palette generator →

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