#D4AE38#D4AE38

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

Color values

HEX#D4AE38
RGBrgb(212, 174, 56)
HSLhsl(45, 64%, 53%)
HSVhsv(45, 74%, 83%)
CMYKcmyk(0%, 17.9%, 73.6%, 16.9%)
CIE-LABlab(72.60, 1.95, 62.29)
CIE-LCHlch(72.60, 62.33, 88.20°)
OKLaboklab(76.46% -0.0008 0.1375)
OKLCHoklch(76.46% 0.138 90.3)
XYZxyz(43.0037, 44.5574, 10.0760)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE38 #385ED4
analogous
#D46038 #D4AE38 #ACD438
triadic
#D4AE38 #38D4AE #AE38D4
tetradic
#D4AE38 #38D460 #385ED4 #D438AC
square
#D4AE38 #38D460 #385ED4 #D438AC
split-complementary
#D4AE38 #38ACD4 #6038D4
monochromatic
#78611A #AA8A25 #D4AE38 #DFC26A #EAD79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AE38#FFFFFF#000000##000000
##D4AE381.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)
#C2AC25
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#E59F97
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae38;
/* rgb */ color: rgb(212, 174, 56);
/* oklch */ color: oklch(76.5% 0.138 90.3);
Tailwind
colors: {
  custom: {
    50: '#e6c576',
    500: '#d4ae38',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae38;
$custom-light: #e6c576;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae38",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 45.385,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76458,
    "c": 0.13753,
    "h": 90.3
  },
  "luminance": 0.44555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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