#D0AF3C#D0AF3C

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

Color values

HEX#D0AF3C
RGBrgb(208, 175, 60)
HSLhsl(47, 61%, 53%)
HSVhsv(47, 71%, 82%)
CMYKcmyk(0%, 15.9%, 71.2%, 18.4%)
CIE-LABlab(72.49, -0.12, 60.50)
CIE-LCHlch(72.49, 60.50, 90.11°)
OKLaboklab(76.29% -0.0061 0.1347)
OKLCHoklch(76.29% 0.135 92.6)
XYZxyz(42.1603, 44.3985, 10.6232)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF3C #3C5DD0
analogous
#D0653C #D0AF3C #A7D03C
triadic
#D0AF3C #3CD0AF #AF3CD0
tetradic
#D0AF3C #3CD065 #3C5DD0 #D03CA7
square
#D0AF3C #3CD065 #3C5DD0 #D03CA7
split-complementary
#D0AF3C #3CA7D0 #653CD0
monochromatic
#75611C #A78A28 #D0AF3C #DCC36D #E8D79F

Accessibility & contrast

On white

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

On black

9.88
#D0AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AF3C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AF3C#FFFFFF#000000##000000
##D0AF3C1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0af3c;
/* rgb */ color: rgb(208, 175, 60);
/* oklch */ color: oklch(76.3% 0.135 92.6);
Tailwind
colors: {
  custom: {
    50: '#e2c679',
    500: '#d0af3c',
    950: '#000000',
  },
}
SCSS
$custom: #d0af3c;
$custom-light: #e2c679;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af3c",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 46.622,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.13479,
    "h": 92.6
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#D0AF3C
secondary
#94A2D4
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D0AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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