#D4AE37#D4AE37

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

Color values

HEX#D4AE37
RGBrgb(212, 174, 55)
HSLhsl(45, 65%, 52%)
HSVhsv(45, 74%, 83%)
CMYKcmyk(0%, 17.9%, 74.1%, 16.9%)
CIE-LABlab(72.59, 1.91, 62.67)
CIE-LCHlch(72.59, 62.70, 88.25°)
OKLaboklab(76.45% -0.001 0.1381)
OKLCHoklch(76.45% 0.138 90.4)
XYZxyz(42.9795, 44.5477, 9.9485)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE37 #375DD4
analogous
#D46037 #D4AE37 #ABD437
triadic
#D4AE37 #37D4AE #AE37D4
tetradic
#D4AE37 #37D460 #375DD4 #D437AB
square
#D4AE37 #37D460 #375DD4 #D437AB
split-complementary
#D4AE37 #37ABD4 #6037D4
monochromatic
#77601A #A98924 #D4AE37 #DFC269 #EAD79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AE37#FFFFFF#000000##000000
##D4AE371.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)
#C2AC24
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#E59F97
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae37;
/* rgb */ color: rgb(212, 174, 55);
/* oklch */ color: oklch(76.5% 0.138 90.4);
Tailwind
colors: {
  custom: {
    50: '#e6c576',
    500: '#d4ae37',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae37;
$custom-light: #e6c576;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae37",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 45.478,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76451,
    "c": 0.13813,
    "h": 90.4
  },
  "luminance": 0.44545
}

Semantic roles & 50–950 ramp

primary
#D4AE37
secondary
#91A2D6
accent
#69E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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