#D0AA38#D0AA38

#D0AA38 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.2% C 0.134 H 89.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D0AA38
RGBrgb(208, 170, 56)
HSLhsl(45, 62%, 52%)
HSVhsv(45, 73%, 82%)
CMYKcmyk(0%, 18.3%, 73.1%, 18.4%)
CIE-LABlab(71.18, 2.34, 60.77)
CIE-LCHlch(71.18, 60.82, 87.80°)
OKLaboklab(75.25% 0.0005 0.1345)
OKLCHoklch(75.25% 0.134 89.8)
XYZxyz(41.1033, 42.4474, 9.7688)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AA38 #385ED0
analogous
#D05E38 #D0AA38 #AAD038
triadic
#D0AA38 #38D0AA #AA38D0
tetradic
#D0AA38 #38D05E #385ED0 #D038AA
square
#D0AA38 #38D05E #385ED0 #D038AA
split-complementary
#D0AA38 #38AAD0 #5E38D0
monochromatic
#735D1B #A48527 #D0AA38 #DCBF6A #E7D49B

Accessibility & contrast

On white

2.21
#D0AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#D0AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AA38
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AA38#FFFFFF#000000##000000
##D0AA381.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#E19C93
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d0aa38;
/* rgb */ color: rgb(208, 170, 56);
/* oklch */ color: oklch(75.2% 0.134 89.8);
Tailwind
colors: {
  custom: {
    50: '#e3c276',
    500: '#d0aa38',
    950: '#000000',
  },
}
SCSS
$custom: #d0aa38;
$custom-light: #e3c276;
$custom-dark: #000000;
JSON
{
  "hex": "#d0aa38",
  "rgb": {
    "r": 208,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 45,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75246,
    "c": 0.13447,
    "h": 89.8
  },
  "luminance": 0.42445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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