#D1AE40#D1AE40

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

Color values

HEX#D1AE40
RGBrgb(209, 174, 64)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 16.7%, 69.4%, 18%)
CIE-LABlab(72.36, 1.05, 58.78)
CIE-LCHlch(72.36, 58.79, 88.98°)
OKLaboklab(76.22% -0.0023 0.1317)
OKLCHoklch(76.22% 0.132 91)
XYZxyz(42.3582, 44.2001, 11.1499)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AE40 #4063D1
analogous
#D16540 #D1AE40 #ABD140
triadic
#D1AE40 #40D1AE #AE40D1
tetradic
#D1AE40 #40D165 #4063D1 #D140AB
square
#D1AE40 #40D165 #4063D1 #D140AB
split-complementary
#D1AE40 #40ABD1 #6540D1
monochromatic
#79631D #AB8B29 #D1AE40 #DDC371 #E9D8A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1AE40#FFFFFF#000000##000000
##D1AE401.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)
#C1AC31
Deuteranopia (green-blind)
#C9B645
Tritanopia (blue-blind)
#E2A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d1ae40;
/* rgb */ color: rgb(209, 174, 64);
/* oklch */ color: oklch(76.2% 0.132 91.0);
Tailwind
colors: {
  custom: {
    50: '#e3c57b',
    500: '#d1ae40',
    950: '#000000',
  },
}
SCSS
$custom: #d1ae40;
$custom-light: #e3c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ae40",
  "rgb": {
    "r": 209,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 45.517,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76221,
    "c": 0.1317,
    "h": 91
  },
  "luminance": 0.44198
}

Semantic roles & 50–950 ramp

primary
#D1AE40
secondary
#97A6D5
accent
#6AE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D1AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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