#D0AF3A#D0AF3A

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

Color values

HEX#D0AF3A
RGBrgb(208, 175, 58)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 72%, 82%)
CMYKcmyk(0%, 15.9%, 72.1%, 18.4%)
CIE-LABlab(72.48, -0.22, 61.28)
CIE-LCHlch(72.48, 61.28, 90.20°)
OKLaboklab(76.28% -0.0066 0.1359)
OKLCHoklch(76.28% 0.136 92.8)
XYZxyz(42.1084, 44.3778, 10.3500)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF3A #3A5BD0
analogous
#D0643A #D0AF3A #A6D03A
triadic
#D0AF3A #3AD0AF #AF3AD0
tetradic
#D0AF3A #3AD064 #3A5BD0 #D03AA6
square
#D0AF3A #3AD064 #3A5BD0 #D03AA6
split-complementary
#D0AF3A #3AA6D0 #643AD0
monochromatic
#74611C #A58A27 #D0AF3A #DCC36B #E8D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0AF3A#FFFFFF#000000##000000
##D0AF3A1.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)
#C2AC28
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#E1A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0af3a;
/* rgb */ color: rgb(208, 175, 58);
/* oklch */ color: oklch(76.3% 0.136 92.8);
Tailwind
colors: {
  custom: {
    50: '#e2c677',
    500: '#d0af3a',
    950: '#000000',
  },
}
SCSS
$custom: #d0af3a;
$custom-light: #e2c677;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af3a",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 46.8,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76278,
    "c": 0.13608,
    "h": 92.8
  },
  "luminance": 0.44375
}

Semantic roles & 50–950 ramp

primary
#D0AF3A
secondary
#92A1D4
accent
#67E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D0AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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