#D0B532#D0B532

#D0B532 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.145 H 96.9°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D0B532
RGBrgb(208, 181, 50)
HSLhsl(50, 63%, 51%)
HSVhsv(50, 76%, 82%)
CMYKcmyk(0%, 13%, 76%, 18.4%)
CIE-LABlab(73.99, -3.72, 65.66)
CIE-LCHlch(73.99, 65.76, 93.24°)
OKLaboklab(77.46% -0.0174 0.1437)
OKLCHoklch(77.46% 0.145 96.9)
XYZxyz(43.1143, 46.6902, 9.7582)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B532 #324DD0
analogous
#D06632 #D0B532 #9CD032
triadic
#D0B532 #32D0B5 #B532D0
tetradic
#D0B532 #32D066 #324DD0 #D0329C
square
#D0B532 #32D066 #324DD0 #D0329C
split-complementary
#D0B532 #329CD0 #6632D0
monochromatic
#6E6019 #A08B25 #D0B532 #DBC764 #E7D996

Accessibility & contrast

On white

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

On black

10.34
#D0B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B532
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B532#FFFFFF#000000##000000
##D0B5321.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B118
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#E1A79C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b532;
/* rgb */ color: rgb(208, 181, 50);
/* oklch */ color: oklch(77.5% 0.145 96.9);
Tailwind
colors: {
  custom: {
    50: '#e3ca74',
    500: '#d0b532',
    950: '#000000',
  },
}
SCSS
$custom: #d0b532;
$custom-light: #e3ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b532",
  "rgb": {
    "r": 208,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 49.747,
    "s": 62.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77457,
    "c": 0.14473,
    "h": 96.9
  },
  "luminance": 0.46688
}

Semantic roles & 50–950 ramp

primary
#D0B532
secondary
#8C98D2
accent
#5EE642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B532

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

Preview Lab → · Contrast checker → · Palette generator →

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