#D4AE39#D4AE39

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

Color values

HEX#D4AE39
RGBrgb(212, 174, 57)
HSLhsl(45, 64%, 53%)
HSVhsv(45, 73%, 83%)
CMYKcmyk(0%, 17.9%, 73.1%, 16.9%)
CIE-LABlab(72.61, 2.00, 61.92)
CIE-LCHlch(72.61, 61.95, 88.15°)
OKLaboklab(76.47% -0.0006 0.1369)
OKLCHoklch(76.47% 0.137 90.2)
XYZxyz(43.0284, 44.5672, 10.2061)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE39 #395FD4
analogous
#D46039 #D4AE39 #ADD439
triadic
#D4AE39 #39D4AE #AE39D4
tetradic
#D4AE39 #39D460 #395FD4 #D439AD
square
#D4AE39 #39D460 #395FD4 #D439AD
split-complementary
#D4AE39 #39ADD4 #6039D4
monochromatic
#78611A #AB8A25 #D4AE39 #DFC36B #EAD79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AE39#FFFFFF#000000##000000
##D4AE391.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)
#C2AC27
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#E59F97
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae39;
/* rgb */ color: rgb(212, 174, 57);
/* oklch */ color: oklch(76.5% 0.137 90.2);
Tailwind
colors: {
  custom: {
    50: '#e5c577',
    500: '#d4ae39',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae39;
$custom-light: #e5c577;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae39",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 45.29,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76465,
    "c": 0.13693,
    "h": 90.2
  },
  "luminance": 0.44565
}

Semantic roles & 50–950 ramp

primary
#D4AE39
secondary
#93A3D6
accent
#69E740
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D4AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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