#D0C241#D0C241

#D0C241 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.146 H 103.1°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D0C241
RGBrgb(208, 194, 65)
HSLhsl(54, 60%, 54%)
HSVhsv(54, 69%, 82%)
CMYKcmyk(0%, 6.7%, 68.8%, 18.4%)
CIE-LABlab(77.51, -9.74, 63.57)
CIE-LCHlch(77.51, 64.31, 98.71°)
OKLaboklab(80.27% -0.0329 0.142)
OKLCHoklch(80.27% 0.146 103.1)
XYZxyz(46.2603, 52.3770, 12.6730)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C241 #414FD0
analogous
#D07A41 #D0C241 #96D041
triadic
#D0C241 #41D0C2 #C241D0
tetradic
#D0C241 #41D07A #414FD0 #D04196
square
#D0C241 #41D07A #414FD0 #D04196
split-complementary
#D0C241 #4196D0 #7A41D0
monochromatic
#79701E #AA9D2A #D0C241 #DCD272 #E8E2A3

Accessibility & contrast

On white

1.83
#D0C241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D0C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C241
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C241#FFFFFF#000000##000000
##D0C2411.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2E
Deuteranopia (green-blind)
#D8C249
Tritanopia (blue-blind)
#DFB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c241;
/* rgb */ color: rgb(208, 194, 65);
/* oklch */ color: oklch(80.3% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#e2d47d',
    500: '#d0c241',
    950: '#000000',
  },
}
SCSS
$custom: #d0c241;
$custom-light: #e2d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c241",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 54.126,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80275,
    "c": 0.14578,
    "h": 103.1
  },
  "luminance": 0.52375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C241

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

Preview Lab → · Contrast checker → · Palette generator →

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