#D4AE31#D4AE31

#D4AE31 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.4% C 0.142 H 91.0°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#D4AE31
RGBrgb(212, 174, 49)
HSLhsl(46, 65%, 51%)
HSVhsv(46, 77%, 83%)
CMYKcmyk(0%, 17.9%, 76.9%, 16.9%)
CIE-LABlab(72.56, 1.66, 64.81)
CIE-LCHlch(72.56, 64.83, 88.53°)
OKLaboklab(76.41% -0.0024 0.1415)
OKLCHoklch(76.41% 0.142 91)
XYZxyz(42.8443, 44.4936, 9.2366)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE31 #3157D4
analogous
#D45C31 #D4AE31 #A8D431
triadic
#D4AE31 #31D4AE #AE31D4
tetradic
#D4AE31 #31D45C #3157D4 #D431A8
square
#D4AE31 #31D45C #3157D4 #D431A8
split-complementary
#D4AE31 #31A8D4 #5C31D4
monochromatic
#735E18 #A58723 #D4AE31 #DFC264 #E9D696

Accessibility & contrast

On white

2.12
#D4AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#D4AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AE31
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AE31#FFFFFF#000000##000000
##D4AE311.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC18
Deuteranopia (green-blind)
#CBB638
Tritanopia (blue-blind)
#E69F96
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae31;
/* rgb */ color: rgb(212, 174, 49);
/* oklch */ color: oklch(76.4% 0.142 91.0);
Tailwind
colors: {
  custom: {
    50: '#e6c573',
    500: '#d4ae31',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae31;
$custom-light: #e6c573;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae31",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 46.012,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76411,
    "c": 0.14151,
    "h": 91
  },
  "luminance": 0.44491
}

Semantic roles & 50–950 ramp

primary
#D4AE31
secondary
#8C9DD4
accent
#67E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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