#D0B540#D0B540

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

Color values

HEX#D0B540
RGBrgb(208, 181, 64)
HSLhsl(49, 61%, 53%)
HSVhsv(49, 69%, 82%)
CMYKcmyk(0%, 13%, 69.2%, 18.4%)
CIE-LABlab(74.08, -3.07, 60.50)
CIE-LCHlch(74.08, 60.58, 92.90°)
OKLaboklab(77.56% -0.0141 0.1354)
OKLCHoklch(77.56% 0.136 95.9)
XYZxyz(43.4638, 46.8301, 11.5992)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B540 #405BD0
analogous
#D06D40 #D0B540 #A3D040
triadic
#D0B540 #40D0B5 #B540D0
tetradic
#D0B540 #40D06D #405BD0 #D040A3
square
#D0B540 #40D06D #405BD0 #D040A3
split-complementary
#D0B540 #40A3D0 #6D40D0
monochromatic
#78671E #A9912A #D0B540 #DCC871 #E8DBA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0B540#FFFFFF#000000##000000
##D0B5401.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)
#C7B130
Deuteranopia (green-blind)
#CEBA46
Tritanopia (blue-blind)
#E0A79D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b540;
/* rgb */ color: rgb(208, 181, 64);
/* oklch */ color: oklch(77.6% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#e2ca7b',
    500: '#d0b540',
    950: '#000000',
  },
}
SCSS
$custom: #d0b540;
$custom-light: #e2ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b540",
  "rgb": {
    "r": 208,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 48.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77556,
    "c": 0.13609,
    "h": 95.9
  },
  "luminance": 0.46828
}

Semantic roles & 50–950 ramp

primary
#D0B540
secondary
#97A3D5
accent
#62E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B540

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

Preview Lab → · Contrast checker → · Palette generator →

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