#D0C941#D0C941

#D0C941 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.152 H 106.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D0C941
RGBrgb(208, 201, 65)
HSLhsl(57, 60%, 54%)
HSVhsv(57, 69%, 82%)
CMYKcmyk(0%, 3.4%, 68.8%, 18.4%)
CIE-LABlab(79.37, -13.29, 65.43)
CIE-LCHlch(79.37, 66.77, 101.48°)
OKLaboklab(81.76% -0.0429 0.1459)
OKLCHoklch(81.76% 0.152 106.4)
XYZxyz(47.8550, 55.5665, 13.2046)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C941 #4148D0
analogous
#D08141 #D0C941 #8FD041
triadic
#D0C941 #41D0C9 #C941D0
tetradic
#D0C941 #41D081 #4148D0 #D0418F
square
#D0C941 #41D081 #4148D0 #D0418F
split-complementary
#D0C941 #418FD0 #8141D0
monochromatic
#79741E #AAA42A #D0C941 #DCD772 #E8E5A3

Accessibility & contrast

On white

1.73
#D0C941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D0C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C941
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C941#FFFFFF#000000##000000
##D0C9411.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22C
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#DFBCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d0c941;
/* rgb */ color: rgb(208, 201, 65);
/* oklch */ color: oklch(81.8% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#e2d97e',
    500: '#d0c941',
    950: '#000000',
  },
}
SCSS
$custom: #d0c941;
$custom-light: #e2d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c941",
  "rgb": {
    "r": 208,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 57.063,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81756,
    "c": 0.15213,
    "h": 106.4
  },
  "luminance": 0.55565
}

Semantic roles & 50–950 ramp

primary
#D0C941
secondary
#343881
accent
#4CE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C941

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

Preview Lab → · Contrast checker → · Palette generator →

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