#D4AE3A#D4AE3A

#D4AE3A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.5% C 0.136 H 90.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#D4AE3A
RGBrgb(212, 174, 58)
HSLhsl(45, 64%, 53%)
HSVhsv(45, 73%, 83%)
CMYKcmyk(0%, 17.9%, 72.6%, 16.9%)
CIE-LABlab(72.61, 2.04, 61.54)
CIE-LCHlch(72.61, 61.57, 88.10°)
OKLaboklab(76.47% -0.0003 0.1363)
OKLCHoklch(76.47% 0.136 90.1)
XYZxyz(43.0536, 44.5773, 10.3388)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE3A #3A60D4
analogous
#D4613A #D4AE3A #ADD43A
triadic
#D4AE3A #3AD4AE #AE3AD4
tetradic
#D4AE3A #3AD461 #3A60D4 #D43AAD
square
#D4AE3A #3AD461 #3A60D4 #D43AAD
split-complementary
#D4AE3A #3AADD4 #613AD4
monochromatic
#79621A #AB8A25 #D4AE3A #DFC36C #EAD79E

Accessibility & contrast

On white

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

On black

9.91
#D4AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AE3A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AE3A#FFFFFF#000000##000000
##D4AE3A1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#CBB740
Tritanopia (blue-blind)
#E59F97
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae3a;
/* rgb */ color: rgb(212, 174, 58);
/* oklch */ color: oklch(76.5% 0.136 90.1);
Tailwind
colors: {
  custom: {
    50: '#e5c577',
    500: '#d4ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae3a;
$custom-light: #e5c577;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae3a",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 45.195,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76472,
    "c": 0.13631,
    "h": 90.1
  },
  "luminance": 0.44575
}

Semantic roles & 50–950 ramp

primary
#D4AE3A
secondary
#94A4D6
accent
#6AE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D4AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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