#D1AE42#D1AE42

#D1AE42 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.130 H 90.8°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#D1AE42
RGBrgb(209, 174, 66)
HSLhsl(45, 61%, 54%)
HSVhsv(45, 68%, 82%)
CMYKcmyk(0%, 16.7%, 68.4%, 18%)
CIE-LABlab(72.38, 1.15, 57.96)
CIE-LCHlch(72.38, 57.97, 88.86°)
OKLaboklab(76.24% -0.0018 0.1303)
OKLCHoklch(76.24% 0.13 90.8)
XYZxyz(42.4162, 44.2232, 11.4550)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AE42 #4265D1
analogous
#D16742 #D1AE42 #ACD142
triadic
#D1AE42 #42D1AE #AE42D1
tetradic
#D1AE42 #42D167 #4265D1 #D142AC
square
#D1AE42 #42D167 #4265D1 #D142AC
split-complementary
#D1AE42 #42ACD1 #6742D1
monochromatic
#7B641E #AC8C2A #D1AE42 #DDC373 #E9D8A4

Accessibility & contrast

On white

2.13
#D1AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#D1AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AE42
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AE42#FFFFFF#000000##000000
##D1AE421.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#E2A098
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d1ae42;
/* rgb */ color: rgb(209, 174, 66);
/* oklch */ color: oklch(76.2% 0.130 90.8);
Tailwind
colors: {
  custom: {
    50: '#e3c57c',
    500: '#d1ae42',
    950: '#000000',
  },
}
SCSS
$custom: #d1ae42;
$custom-light: #e3c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ae42",
  "rgb": {
    "r": 209,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 45.315,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76238,
    "c": 0.1303,
    "h": 90.8
  },
  "luminance": 0.44221
}

Semantic roles & 50–950 ramp

primary
#D1AE42
secondary
#99A8D6
accent
#6BE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D1AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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