#D0AF3B#D0AF3B

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

Color values

HEX#D0AF3B
RGBrgb(208, 175, 59)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 72%, 82%)
CMYKcmyk(0%, 15.9%, 71.6%, 18.4%)
CIE-LABlab(72.49, -0.17, 60.89)
CIE-LCHlch(72.49, 60.89, 90.16°)
OKLaboklab(76.29% -0.0063 0.1353)
OKLCHoklch(76.29% 0.135 92.7)
XYZxyz(42.1341, 44.3880, 10.4853)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AF3B #3B5CD0
analogous
#D0643B #D0AF3B #A7D03B
triadic
#D0AF3B #3BD0AF #AF3BD0
tetradic
#D0AF3B #3BD064 #3B5CD0 #D03BA7
square
#D0AF3B #3BD064 #3B5CD0 #D03BA7
split-complementary
#D0AF3B #3BA7D0 #643BD0
monochromatic
#75611C #A68A28 #D0AF3B #DCC36C #E8D79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0AF3B#FFFFFF#000000##000000
##D0AF3B1.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)
#C2AC2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E1A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0af3b;
/* rgb */ color: rgb(208, 175, 59);
/* oklch */ color: oklch(76.3% 0.135 92.7);
Tailwind
colors: {
  custom: {
    50: '#e2c678',
    500: '#d0af3b',
    950: '#000000',
  },
}
SCSS
$custom: #d0af3b;
$custom-light: #e2c678;
$custom-dark: #000000;
JSON
{
  "hex": "#d0af3b",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 46.711,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.13544,
    "h": 92.7
  },
  "luminance": 0.44386
}

Semantic roles & 50–950 ramp

primary
#D0AF3B
secondary
#93A1D4
accent
#67E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D0AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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