#D4AD31#D4AD31

#D4AD31 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.2% C 0.141 H 90.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#D4AD31
RGBrgb(212, 173, 49)
HSLhsl(46, 65%, 51%)
HSVhsv(46, 77%, 83%)
CMYKcmyk(0%, 18.4%, 76.9%, 16.9%)
CIE-LABlab(72.30, 2.19, 64.57)
CIE-LCHlch(72.30, 64.61, 88.06°)
OKLaboklab(76.21% -0.0009 0.141)
OKLCHoklch(76.21% 0.141 90.4)
XYZxyz(42.6518, 44.1087, 9.1725)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AD31 #3158D4
analogous
#D45B31 #D4AD31 #A9D431
triadic
#D4AD31 #31D4AD #AD31D4
tetradic
#D4AD31 #31D45B #3158D4 #D431A9
square
#D4AD31 #31D45B #3158D4 #D431A9
split-complementary
#D4AD31 #31A9D4 #5B31D4
monochromatic
#735D18 #A58623 #D4AD31 #DFC164 #E9D596

Accessibility & contrast

On white

2.14
#D4AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#D4AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AD31
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AD31#FFFFFF#000000##000000
##D4AD311.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB19
Deuteranopia (green-blind)
#CBB638
Tritanopia (blue-blind)
#E69E95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d4ad31;
/* rgb */ color: rgb(212, 173, 49);
/* oklch */ color: oklch(76.2% 0.141 90.4);
Tailwind
colors: {
  custom: {
    50: '#e6c573',
    500: '#d4ad31',
    950: '#000000',
  },
}
SCSS
$custom: #d4ad31;
$custom-light: #e6c573;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ad31",
  "rgb": {
    "r": 212,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 45.644,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.14098,
    "h": 90.4
  },
  "luminance": 0.44106
}

Semantic roles & 50–950 ramp

primary
#D4AD31
secondary
#8C9ED4
accent
#68E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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