#D0AB3A#D0AB3A

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

Color values

HEX#D0AB3A
RGBrgb(208, 171, 58)
HSLhsl(45, 61%, 52%)
HSVhsv(45, 72%, 82%)
CMYKcmyk(0%, 17.8%, 72.1%, 18.4%)
CIE-LABlab(71.45, 1.90, 60.26)
CIE-LCHlch(71.45, 60.29, 88.19°)
OKLaboklab(75.46% -0.0005 0.1338)
OKLCHoklch(75.46% 0.134 90.2)
XYZxyz(41.3414, 42.8438, 10.0943)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB3A #3A5FD0
analogous
#D0603A #D0AB3A #AAD03A
triadic
#D0AB3A #3AD0AB #AB3AD0
tetradic
#D0AB3A #3AD060 #3A5FD0 #D03AAA
square
#D0AB3A #3AD060 #3A5FD0 #D03AAA
split-complementary
#D0AB3A #3AAAD0 #603AD0
monochromatic
#745E1C #A58627 #D0AB3A #DCC06B #E8D59D

Accessibility & contrast

On white

2.19
#D0AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0AB3A#FFFFFF#000000##000000
##D0AB3A1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0ab3a;
/* rgb */ color: rgb(208, 171, 58);
/* oklch */ color: oklch(75.5% 0.134 90.2);
Tailwind
colors: {
  custom: {
    50: '#e3c377',
    500: '#d0ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab3a;
$custom-light: #e3c377;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab3a",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 45.2,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75464,
    "c": 0.13375,
    "h": 90.2
  },
  "luminance": 0.42841
}

Semantic roles & 50–950 ramp

primary
#D0AB3A
secondary
#92A2D4
accent
#6BE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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