#D0B541#D0B541

#D0B541 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.135 H 95.8°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D0B541
RGBrgb(208, 181, 65)
HSLhsl(49, 60%, 54%)
HSVhsv(49, 69%, 82%)
CMYKcmyk(0%, 13%, 68.8%, 18.4%)
CIE-LABlab(74.09, -3.01, 60.10)
CIE-LCHlch(74.09, 60.18, 92.87°)
OKLaboklab(77.57% -0.0138 0.1347)
OKLCHoklch(77.57% 0.135 95.8)
XYZxyz(43.4926, 46.8416, 11.7505)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B541 #415CD0
analogous
#D06D41 #D0B541 #A4D041
triadic
#D0B541 #41D0B5 #B541D0
tetradic
#D0B541 #41D06D #415CD0 #D041A4
square
#D0B541 #41D06D #415CD0 #D041A4
split-complementary
#D0B541 #41A4D0 #6D41D0
monochromatic
#79681E #AA922A #D0B541 #DCC872 #E8DBA3

Accessibility & contrast

On white

2.03
#D0B541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D0B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B541
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B541#FFFFFF#000000##000000
##D0B5411.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#E0A79D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b541;
/* rgb */ color: rgb(208, 181, 65);
/* oklch */ color: oklch(77.6% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#e2ca7c',
    500: '#d0b541',
    950: '#000000',
  },
}
SCSS
$custom: #d0b541;
$custom-light: #e2ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b541",
  "rgb": {
    "r": 208,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 48.671,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77565,
    "c": 0.13539,
    "h": 95.8
  },
  "luminance": 0.46839
}

Semantic roles & 50–950 ramp

primary
#D0B541
secondary
#98A3D5
accent
#62E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B541

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

Preview Lab → · Contrast checker → · Palette generator →

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