#D4AD2C#D4AD2C

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

Color values

HEX#D4AD2C
RGBrgb(212, 173, 44)
HSLhsl(46, 66%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 18.4%, 79.2%, 16.9%)
CIE-LABlab(72.27, 2.01, 66.23)
CIE-LCHlch(72.27, 66.26, 88.27°)
OKLaboklab(76.18% -0.0019 0.1435)
OKLCHoklch(76.18% 0.144 90.8)
XYZxyz(42.5521, 44.0688, 8.6473)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AD2C #2C53D4
analogous
#D4592C #D4AD2C #A7D42C
triadic
#D4AD2C #2CD4AD #AD2CD4
tetradic
#D4AD2C #2CD459 #2C53D4 #D42CA7
square
#D4AD2C #2CD459 #2C53D4 #D42CA7
split-complementary
#D4AD2C #2CA7D4 #592CD4
monochromatic
#6F5A17 #A28421 #D4AD2C #DEC15F #E9D592

Accessibility & contrast

On white

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

On black

9.81
#D4AD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AD2C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AD2C#FFFFFF#000000##000000
##D4AD2C1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4ad2c;
/* rgb */ color: rgb(212, 173, 44);
/* oklch */ color: oklch(76.2% 0.144 90.8);
Tailwind
colors: {
  custom: {
    50: '#e6c570',
    500: '#d4ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #d4ad2c;
$custom-light: #e6c570;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ad2c",
  "rgb": {
    "r": 212,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 46.071,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76179,
    "c": 0.14352,
    "h": 90.8
  },
  "luminance": 0.44066
}

Semantic roles & 50–950 ramp

primary
#D4AD2C
secondary
#889AD3
accent
#66E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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