#D0B841#D0B841

#D0B841 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.138 H 97.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D0B841
RGBrgb(208, 184, 65)
HSLhsl(50, 60%, 54%)
HSVhsv(50, 69%, 82%)
CMYKcmyk(0%, 11.5%, 68.8%, 18.4%)
CIE-LABlab(74.87, -4.58, 60.90)
CIE-LCHlch(74.87, 61.08, 94.30°)
OKLaboklab(78.19% -0.0183 0.1364)
OKLCHoklch(78.19% 0.138 97.6)
XYZxyz(44.1091, 48.0747, 11.9560)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B841 #4159D0
analogous
#D07041 #D0B841 #A0D041
triadic
#D0B841 #41D0B8 #B841D0
tetradic
#D0B841 #41D070 #4159D0 #D041A0
square
#D0B841 #41D070 #4159D0 #D041A0
split-complementary
#D0B841 #41A0D0 #7041D0
monochromatic
#79691E #AA942A #D0B841 #DCCA72 #E8DDA3

Accessibility & contrast

On white

1.98
#D0B841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D0B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B841
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B841#FFFFFF#000000##000000
##D0B8411.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#E0AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b841;
/* rgb */ color: rgb(208, 184, 65);
/* oklch */ color: oklch(78.2% 0.138 97.6);
Tailwind
colors: {
  custom: {
    50: '#e2cd7c',
    500: '#d0b841',
    950: '#000000',
  },
}
SCSS
$custom: #d0b841;
$custom-light: #e2cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b841",
  "rgb": {
    "r": 208,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 49.93,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78185,
    "c": 0.1376,
    "h": 97.6
  },
  "luminance": 0.48073
}

Semantic roles & 50–950 ramp

primary
#D0B841
secondary
#98A2D5
accent
#5FE344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B841

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

Preview Lab → · Contrast checker → · Palette generator →

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