#D0AF38#D0AF38

#D0AF38 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.137 H 92.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#D0AF38
RGBrgb(208, 175, 56)
HSLhsl(47, 62%, 52%)
HSVhsv(47, 73%, 82%)
CMYKcmyk(0%, 15.9%, 73.1%, 18.4%)
CIE-LABlab(72.47, -0.31, 62.03)
CIE-LCHlch(72.47, 62.03, 90.28°)
OKLaboklab(76.26% -0.0071 0.1371)
OKLCHoklch(76.26% 0.137 92.9)
XYZxyz(42.0585, 44.3578, 10.0872)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF38 #3859D0
analogous
#D06338 #D0AF38 #A5D038
triadic
#D0AF38 #38D0AF #AF38D0
tetradic
#D0AF38 #38D063 #3859D0 #D038A5
square
#D0AF38 #38D063 #3859D0 #D038A5
split-complementary
#D0AF38 #38A5D0 #6338D0
monochromatic
#73601B #A48927 #D0AF38 #DCC36A #E7D79B

Accessibility & contrast

On white

2.13
#D0AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#D0AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AF38
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AF38#FFFFFF#000000##000000
##D0AF381.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#E1A197
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0af38;
/* rgb */ color: rgb(208, 175, 56);
/* oklch */ color: oklch(76.3% 0.137 92.9);
Tailwind
colors: {
  custom: {
    50: '#e3c676',
    500: '#d0af38',
    950: '#000000',
  },
}
SCSS
$custom: #d0af38;
$custom-light: #e3c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af38",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 46.974,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76263,
    "c": 0.13732,
    "h": 92.9
  },
  "luminance": 0.44355
}

Semantic roles & 50–950 ramp

primary
#D0AF38
secondary
#919FD3
accent
#66E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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