#D0AD31#D0AD31

#D0AD31 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.140 H 92.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#D0AD31
RGBrgb(208, 173, 49)
HSLhsl(47, 63%, 50%)
HSVhsv(47, 76%, 82%)
CMYKcmyk(0%, 16.8%, 76.4%, 18.4%)
CIE-LABlab(71.91, 0.45, 64.06)
CIE-LCHlch(71.91, 64.06, 89.60°)
OKLaboklab(75.81% -0.0056 0.1401)
OKLCHoklch(75.81% 0.14 92.3)
XYZxyz(41.5127, 43.5213, 9.1191)
Luminance0.4352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AD31 #3154D0
analogous
#D05D31 #D0AD31 #A4D031
triadic
#D0AD31 #31D0AD #AD31D0
tetradic
#D0AD31 #31D05D #3154D0 #D031A4
square
#D0AD31 #31D05D #3154D0 #D031A4
split-complementary
#D0AD31 #31A4D0 #5D31D0
monochromatic
#6E5B19 #9F8424 #D0AD31 #DBC163 #E7D595

Accessibility & contrast

On white

2.16
#D0AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#D0AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AD31
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AD31#FFFFFF#000000##000000
##D0AD311.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA19
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#E19E95
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d0ad31;
/* rgb */ color: rgb(208, 173, 49);
/* oklch */ color: oklch(75.8% 0.140 92.3);
Tailwind
colors: {
  custom: {
    50: '#e3c573',
    500: '#d0ad31',
    950: '#000000',
  },
}
SCSS
$custom: #d0ad31;
$custom-light: #e3c573;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ad31",
  "rgb": {
    "r": 208,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 46.792,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75808,
    "c": 0.14019,
    "h": 92.3
  },
  "luminance": 0.43519
}

Semantic roles & 50–950 ramp

primary
#D0AD31
secondary
#8B9BD2
accent
#66E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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