#D0AB39#D0AB39

#D0AB39 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.5% C 0.134 H 90.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#D0AB39
RGBrgb(208, 171, 57)
HSLhsl(45, 62%, 52%)
HSVhsv(45, 73%, 82%)
CMYKcmyk(0%, 17.8%, 72.6%, 18.4%)
CIE-LABlab(71.44, 1.85, 60.64)
CIE-LCHlch(71.44, 60.67, 88.25°)
OKLaboklab(75.46% -0.0007 0.1344)
OKLCHoklch(75.46% 0.134 90.3)
XYZxyz(41.3162, 42.8337, 9.9617)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB39 #395ED0
analogous
#D06039 #D0AB39 #AAD039
triadic
#D0AB39 #39D0AB #AB39D0
tetradic
#D0AB39 #39D060 #395ED0 #D039AA
square
#D0AB39 #39D060 #395ED0 #D039AA
split-complementary
#D0AB39 #39AAD0 #6039D0
monochromatic
#735E1B #A58627 #D0AB39 #DCC06A #E7D59C

Accessibility & contrast

On white

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

On black

9.57
#D0AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AB39
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AB39#FFFFFF#000000##000000
##D0AB391.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA928
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#E19D94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d0ab39;
/* rgb */ color: rgb(208, 171, 57);
/* oklch */ color: oklch(75.5% 0.134 90.3);
Tailwind
colors: {
  custom: {
    50: '#e3c377',
    500: '#d0ab39',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab39;
$custom-light: #e3c377;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab39",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 45.298,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.13438,
    "h": 90.3
  },
  "luminance": 0.42831
}

Semantic roles & 50–950 ramp

primary
#D0AB39
secondary
#91A2D3
accent
#6BE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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