#D0AB38#D0AB38

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

Color values

HEX#D0AB38
RGBrgb(208, 171, 56)
HSLhsl(45, 62%, 52%)
HSVhsv(45, 73%, 82%)
CMYKcmyk(0%, 17.8%, 73.1%, 18.4%)
CIE-LABlab(71.44, 1.81, 61.02)
CIE-LCHlch(71.44, 61.05, 88.30°)
OKLaboklab(75.45% -0.001 0.135)
OKLCHoklch(75.45% 0.135 90.4)
XYZxyz(41.2915, 42.8238, 9.8316)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB38 #385DD0
analogous
#D05F38 #D0AB38 #A9D038
triadic
#D0AB38 #38D0AB #AB38D0
tetradic
#D0AB38 #38D05F #385DD0 #D038A9
square
#D0AB38 #38D05F #385DD0 #D038A9
split-complementary
#D0AB38 #38A9D0 #5F38D0
monochromatic
#735D1B #A48627 #D0AB38 #DCC06A #E7D59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0AB38#FFFFFF#000000##000000
##D0AB381.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)
#BEA926
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#E19D94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d0ab38;
/* rgb */ color: rgb(208, 171, 56);
/* oklch */ color: oklch(75.4% 0.135 90.4);
Tailwind
colors: {
  custom: {
    50: '#e3c376',
    500: '#d0ab38',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab38;
$custom-light: #e3c376;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab38",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 45.395,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75449,
    "c": 0.135,
    "h": 90.4
  },
  "luminance": 0.42821
}

Semantic roles & 50–950 ramp

primary
#D0AB38
secondary
#91A1D3
accent
#6AE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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