#D0C041#D0C041

#D0C041 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.144 H 102.0°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#D0C041
RGBrgb(208, 192, 65)
HSLhsl(53, 60%, 54%)
HSVhsv(53, 69%, 82%)
CMYKcmyk(0%, 7.7%, 68.8%, 18.4%)
CIE-LABlab(76.98, -8.72, 63.03)
CIE-LCHlch(76.98, 63.63, 97.87°)
OKLaboklab(79.85% -0.03 0.1409)
OKLCHoklch(79.85% 0.144 102)
XYZxyz(45.8182, 51.4928, 12.5257)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C041 #4151D0
analogous
#D07841 #D0C041 #98D041
triadic
#D0C041 #41D0C0 #C041D0
tetradic
#D0C041 #41D078 #4151D0 #D04198
square
#D0C041 #41D078 #4151D0 #D04198
split-complementary
#D0C041 #4198D0 #7841D0
monochromatic
#796F1E #AA9B2A #D0C041 #DCD072 #E8E1A3

Accessibility & contrast

On white

1.86
#D0C041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#D0C041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C041
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C041#FFFFFF#000000##000000
##D0C0411.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#E0B3A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c041;
/* rgb */ color: rgb(208, 192, 65);
/* oklch */ color: oklch(79.9% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#e2d27d',
    500: '#d0c041',
    950: '#000000',
  },
}
SCSS
$custom: #d0c041;
$custom-light: #e2d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c041",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 53.287,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.14405,
    "h": 102
  },
  "luminance": 0.51491
}

Semantic roles & 50–950 ramp

primary
#D0C041
secondary
#343D81
accent
#56E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C041

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

Preview Lab → · Contrast checker → · Palette generator →

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