#D0B040#D0B040

#D0B040 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.133 H 92.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#D0B040
RGBrgb(208, 176, 64)
HSLhsl(47, 61%, 53%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 15.4%, 69.2%, 18.4%)
CIE-LABlab(72.78, -0.44, 59.18)
CIE-LCHlch(72.78, 59.18, 90.43°)
OKLaboklab(76.53% -0.0065 0.1326)
OKLCHoklch(76.53% 0.133 92.8)
XYZxyz(42.4654, 44.8331, 11.2664)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B040 #4060D0
analogous
#D06840 #D0B040 #A8D040
triadic
#D0B040 #40D0B0 #B040D0
tetradic
#D0B040 #40D068 #4060D0 #D040A8
square
#D0B040 #40D068 #4060D0 #D040A8
split-complementary
#D0B040 #40A8D0 #6840D0
monochromatic
#78641E #A98D2A #D0B040 #DCC471 #E8D9A2

Accessibility & contrast

On white

2.11
#D0B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#D0B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B040
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B040#FFFFFF#000000##000000
##D0B0401.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#CAB746
Tritanopia (blue-blind)
#E1A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d0b040;
/* rgb */ color: rgb(208, 176, 64);
/* oklch */ color: oklch(76.5% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#e2c77b',
    500: '#d0b040',
    950: '#000000',
  },
}
SCSS
$custom: #d0b040;
$custom-light: #e2c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b040",
  "rgb": {
    "r": 208,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 46.667,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7653,
    "c": 0.13272,
    "h": 92.8
  },
  "luminance": 0.44831
}

Semantic roles & 50–950 ramp

primary
#D0B040
secondary
#97A5D5
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B040

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

Preview Lab → · Contrast checker → · Palette generator →

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