#D0B241#D0B241

#D0B241 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.133 H 94.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D0B241
RGBrgb(208, 178, 65)
HSLhsl(47, 60%, 54%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 14.4%, 68.8%, 18.4%)
CIE-LABlab(73.31, -1.44, 59.31)
CIE-LCHlch(73.31, 59.32, 91.39°)
OKLaboklab(76.95% -0.0093 0.133)
OKLCHoklch(76.95% 0.133 94)
XYZxyz(42.8891, 45.6347, 11.5493)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B241 #415FD0
analogous
#D06A41 #D0B241 #A6D041
triadic
#D0B241 #41D0B2 #B241D0
tetradic
#D0B241 #41D06A #415FD0 #D041A6
square
#D0B241 #41D06A #415FD0 #D041A6
split-complementary
#D0B241 #41A6D0 #6A41D0
monochromatic
#79661E #AA8F2A #D0B241 #DCC672 #E8DAA3

Accessibility & contrast

On white

2.07
#D0B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#D0B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B241
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B241#FFFFFF#000000##000000
##D0B2411.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#E0A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b241;
/* rgb */ color: rgb(208, 178, 65);
/* oklch */ color: oklch(76.9% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e2c87c',
    500: '#d0b241',
    950: '#000000',
  },
}
SCSS
$custom: #d0b241;
$custom-light: #e2c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b241",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 47.413,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.13332,
    "h": 94
  },
  "luminance": 0.45632
}

Semantic roles & 50–950 ramp

primary
#D0B241
secondary
#98A5D5
accent
#66E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B241

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

Preview Lab → · Contrast checker → · Palette generator →

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