#D0C841#D0C841

#D0C841 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.151 H 105.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D0C841
RGBrgb(208, 200, 65)
HSLhsl(57, 60%, 54%)
HSVhsv(57, 69%, 82%)
CMYKcmyk(0%, 3.8%, 68.8%, 18.4%)
CIE-LABlab(79.10, -12.79, 65.16)
CIE-LCHlch(79.10, 66.41, 101.10°)
OKLaboklab(81.54% -0.0415 0.1454)
OKLCHoklch(81.54% 0.151 105.9)
XYZxyz(47.6227, 55.1018, 13.1272)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C841 #4149D0
analogous
#D08041 #D0C841 #90D041
triadic
#D0C841 #41D0C8 #C841D0
tetradic
#D0C841 #41D080 #4149D0 #D04190
square
#D0C841 #41D080 #4149D0 #D04190
split-complementary
#D0C841 #4190D0 #8041D0
monochromatic
#79741E #AAA32A #D0C841 #DCD672 #E8E4A3

Accessibility & contrast

On white

1.75
#D0C841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D0C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C841
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C841#FFFFFF#000000##000000
##D0C8411.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#DFBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c841;
/* rgb */ color: rgb(208, 200, 65);
/* oklch */ color: oklch(81.5% 0.151 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d87e',
    500: '#d0c841',
    950: '#000000',
  },
}
SCSS
$custom: #d0c841;
$custom-light: #e2d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c841",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 56.643,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81543,
    "c": 0.1512,
    "h": 105.9
  },
  "luminance": 0.551
}

Semantic roles & 50–950 ramp

primary
#D0C841
secondary
#343981
accent
#4DE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C841

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

Preview Lab → · Contrast checker → · Palette generator →

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