#D0AF42#D0AF42

#D0AF42 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.131 H 92.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#D0AF42
RGBrgb(208, 175, 66)
HSLhsl(46, 60%, 54%)
HSVhsv(46, 68%, 82%)
CMYKcmyk(0%, 15.9%, 68.3%, 18.4%)
CIE-LABlab(72.54, 0.19, 58.10)
CIE-LCHlch(72.54, 58.10, 89.81°)
OKLaboklab(76.34% -0.0045 0.1306)
OKLCHoklch(76.34% 0.131 92)
XYZxyz(42.3280, 44.4656, 11.5064)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF42 #4263D0
analogous
#D06842 #D0AF42 #AAD042
triadic
#D0AF42 #42D0AF #AF42D0
tetradic
#D0AF42 #42D068 #4263D0 #D042AA
square
#D0AF42 #42D068 #4263D0 #D042AA
split-complementary
#D0AF42 #42AAD0 #6842D0
monochromatic
#79641E #AA8D2A #D0AF42 #DCC473 #E8D8A4

Accessibility & contrast

On white

2.12
#D0AF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#D0AF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AF42
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AF42#FFFFFF#000000##000000
##D0AF421.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#E1A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0af42;
/* rgb */ color: rgb(208, 175, 66);
/* oklch */ color: oklch(76.3% 0.131 92.0);
Tailwind
colors: {
  custom: {
    50: '#e2c67c',
    500: '#d0af42',
    950: '#000000',
  },
}
SCSS
$custom: #d0af42;
$custom-light: #e2c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af42",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 46.056,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76342,
    "c": 0.1307,
    "h": 92
  },
  "luminance": 0.44463
}

Semantic roles & 50–950 ramp

primary
#D0AF42
secondary
#99A7D5
accent
#69E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0AF42

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

Preview Lab → · Contrast checker → · Palette generator →

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