#D0C141#D0C141

#D0C141 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.145 H 102.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D0C141
RGBrgb(208, 193, 65)
HSLhsl(54, 60%, 54%)
HSVhsv(54, 69%, 82%)
CMYKcmyk(0%, 7.2%, 68.8%, 18.4%)
CIE-LABlab(77.24, -9.23, 63.30)
CIE-LCHlch(77.24, 63.97, 98.29°)
OKLaboklab(80.07% -0.0315 0.1415)
OKLCHoklch(80.07% 0.145 102.5)
XYZxyz(46.0385, 51.9334, 12.5991)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C141 #4150D0
analogous
#D07941 #D0C141 #97D041
triadic
#D0C141 #41D0C1 #C141D0
tetradic
#D0C141 #41D079 #4150D0 #D04197
square
#D0C141 #41D079 #4150D0 #D04197
split-complementary
#D0C141 #4197D0 #7941D0
monochromatic
#796F1E #AA9C2A #D0C141 #DCD172 #E8E1A3

Accessibility & contrast

On white

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

On black

11.39
#D0C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C141
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C141#FFFFFF#000000##000000
##D0C1411.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#DFB4A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c141;
/* rgb */ color: rgb(208, 193, 65);
/* oklch */ color: oklch(80.1% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#e2d37d',
    500: '#d0c141',
    950: '#000000',
  },
}
SCSS
$custom: #d0c141;
$custom-light: #e2d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c141",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 53.706,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80065,
    "c": 0.14491,
    "h": 102.5
  },
  "luminance": 0.51931
}

Semantic roles & 50–950 ramp

primary
#D0C141
secondary
#343C81
accent
#55E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C141

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

Preview Lab → · Contrast checker → · Palette generator →

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