#D0AF45#D0AF45

#D0AF45 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.4% C 0.129 H 91.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#D0AF45
RGBrgb(208, 175, 69)
HSLhsl(46, 60%, 54%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.9%, 66.8%, 18.4%)
CIE-LABlab(72.56, 0.36, 56.85)
CIE-LCHlch(72.56, 56.85, 89.63°)
OKLaboklab(76.37% -0.0036 0.1285)
OKLCHoklch(76.37% 0.129 91.6)
XYZxyz(42.4187, 44.5019, 11.9845)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF45 #4566D0
analogous
#D06945 #D0AF45 #ACD045
triadic
#D0AF45 #45D0AF #AF45D0
tetradic
#D0AF45 #45D069 #4566D0 #D045AC
square
#D0AF45 #45D069 #4566D0 #D045AC
split-complementary
#D0AF45 #45ACD0 #6945D0
monochromatic
#7B661F #AC8E2C #D0AF45 #DCC476 #E9D9A7

Accessibility & contrast

On white

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

On black

9.90
#D0AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AF45
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AF45#FFFFFF#000000##000000
##D0AF451.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#E0A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0af45;
/* rgb */ color: rgb(208, 175, 69);
/* oklch */ color: oklch(76.4% 0.129 91.6);
Tailwind
colors: {
  custom: {
    50: '#e2c67e',
    500: '#d0af45',
    950: '#000000',
  },
}
SCSS
$custom: #d0af45;
$custom-light: #e2c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af45",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 45.755,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76369,
    "c": 0.12852,
    "h": 91.6
  },
  "luminance": 0.445
}

Semantic roles & 50–950 ramp

primary
#D0AF45
secondary
#9BA9D6
accent
#6AE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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