#D0C341#D0C341

#D0C341 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.147 H 103.6°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D0C341
RGBrgb(208, 195, 65)
HSLhsl(55, 60%, 54%)
HSVhsv(55, 69%, 82%)
CMYKcmyk(0%, 6.3%, 68.8%, 18.4%)
CIE-LABlab(77.77, -10.25, 63.83)
CIE-LCHlch(77.77, 64.65, 99.12°)
OKLaboklab(80.49% -0.0344 0.1426)
OKLCHoklch(80.49% 0.147 103.6)
XYZxyz(46.4836, 52.8236, 12.7475)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C341 #414ED0
analogous
#D07B41 #D0C341 #96D041
triadic
#D0C341 #41D0C3 #C341D0
tetradic
#D0C341 #41D07B #414ED0 #D04196
square
#D0C341 #41D07B #414ED0 #D04196
split-complementary
#D0C341 #4196D0 #7B41D0
monochromatic
#79701E #AA9E2A #D0C341 #DCD272 #E8E2A3

Accessibility & contrast

On white

1.82
#D0C341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D0C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C341
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C341#FFFFFF#000000##000000
##D0C3411.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2E
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#DFB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c341;
/* rgb */ color: rgb(208, 195, 65);
/* oklch */ color: oklch(80.5% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#e2d47d',
    500: '#d0c341',
    950: '#000000',
  },
}
SCSS
$custom: #d0c341;
$custom-light: #e2d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c341",
  "rgb": {
    "r": 208,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 54.545,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80486,
    "c": 0.14665,
    "h": 103.6
  },
  "luminance": 0.52822
}

Semantic roles & 50–950 ramp

primary
#D0C341
secondary
#343B81
accent
#53E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C341

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

Preview Lab → · Contrast checker → · Palette generator →

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