#D0AB31#D0AB31

#D0AB31 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.139 H 91.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D0AB31
RGBrgb(208, 171, 49)
HSLhsl(46, 63%, 50%)
HSVhsv(46, 76%, 82%)
CMYKcmyk(0%, 17.8%, 76.4%, 18.4%)
CIE-LABlab(71.39, 1.51, 63.58)
CIE-LCHlch(71.39, 63.60, 88.64°)
OKLaboklab(75.4% -0.0026 0.1391)
OKLCHoklch(75.4% 0.139 91.1)
XYZxyz(41.1321, 42.7600, 8.9922)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB31 #3156D0
analogous
#D05C31 #D0AB31 #A5D031
triadic
#D0AB31 #31D0AB #AB31D0
tetradic
#D0AB31 #31D05C #3156D0 #D031A5
square
#D0AB31 #31D05C #3156D0 #D031A5
split-complementary
#D0AB31 #31A5D0 #5C31D0
monochromatic
#6E5A19 #9F8324 #D0AB31 #DBBF63 #E7D495

Accessibility & contrast

On white

2.20
#D0AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D0AB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AB31
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AB31#FFFFFF#000000##000000
##D0AB311.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#E19C93
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d0ab31;
/* rgb */ color: rgb(208, 171, 49);
/* oklch */ color: oklch(75.4% 0.139 91.1);
Tailwind
colors: {
  custom: {
    50: '#e3c372',
    500: '#d0ab31',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab31;
$custom-light: #e3c372;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab31",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 46.038,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75401,
    "c": 0.13907,
    "h": 91.1
  },
  "luminance": 0.42757
}

Semantic roles & 50–950 ramp

primary
#D0AB31
secondary
#8B9BD2
accent
#68E642
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #D0AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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