#D0AF40#D0AF40

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

Color values

HEX#D0AF40
RGBrgb(208, 175, 64)
HSLhsl(46, 61%, 53%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 15.9%, 69.2%, 18.4%)
CIE-LABlab(72.52, 0.09, 58.91)
CIE-LCHlch(72.52, 58.91, 89.92°)
OKLaboklab(76.33% -0.005 0.132)
OKLCHoklch(76.33% 0.132 92.2)
XYZxyz(42.2700, 44.4424, 11.2013)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF40 #4061D0
analogous
#D06740 #D0AF40 #A9D040
triadic
#D0AF40 #40D0AF #AF40D0
tetradic
#D0AF40 #40D067 #4061D0 #D040A9
square
#D0AF40 #40D067 #4061D0 #D040A9
split-complementary
#D0AF40 #40A9D0 #6740D0
monochromatic
#78631E #A98C2A #D0AF40 #DCC471 #E8D8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0AF40#FFFFFF#000000##000000
##D0AF401.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)
#C2AC31
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#E1A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0af40;
/* rgb */ color: rgb(208, 175, 64);
/* oklch */ color: oklch(76.3% 0.132 92.2);
Tailwind
colors: {
  custom: {
    50: '#e2c67b',
    500: '#d0af40',
    950: '#000000',
  },
}
SCSS
$custom: #d0af40;
$custom-light: #e2c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af40",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 46.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76325,
    "c": 0.1321,
    "h": 92.2
  },
  "luminance": 0.4444
}

Semantic roles & 50–950 ramp

primary
#D0AF40
secondary
#97A5D5
accent
#69E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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