#D0AB34#D0AB34

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

Color values

HEX#D0AB34
RGBrgb(208, 171, 52)
HSLhsl(46, 62%, 51%)
HSVhsv(46, 75%, 82%)
CMYKcmyk(0%, 17.8%, 75%, 18.4%)
CIE-LABlab(71.41, 1.63, 62.51)
CIE-LCHlch(71.41, 62.53, 88.51°)
OKLaboklab(75.42% -0.0019 0.1374)
OKLCHoklch(75.42% 0.137 90.8)
XYZxyz(41.1975, 42.7862, 9.3368)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB34 #3459D0
analogous
#D05D34 #D0AB34 #A7D034
triadic
#D0AB34 #34D0AB #AB34D0
tetradic
#D0AB34 #34D05D #3459D0 #D034A7
square
#D0AB34 #34D05D #3459D0 #D034A7
split-complementary
#D0AB34 #34A7D0 #5D34D0
monochromatic
#705B1A #A18425 #D0AB34 #DCC066 #E7D497

Accessibility & contrast

On white

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

On black

9.56
#D0AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AB34
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AB34#FFFFFF#000000##000000
##D0AB341.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA920
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#E19C94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d0ab34;
/* rgb */ color: rgb(208, 171, 52);
/* oklch */ color: oklch(75.4% 0.137 90.8);
Tailwind
colors: {
  custom: {
    50: '#e3c374',
    500: '#d0ab34',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab34;
$custom-light: #e3c374;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab34",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 45.769,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7542,
    "c": 0.13739,
    "h": 90.8
  },
  "luminance": 0.42784
}

Semantic roles & 50–950 ramp

primary
#D0AB34
secondary
#8D9ED2
accent
#69E542
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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