#D1AE45#D1AE45

#D1AE45 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.128 H 90.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#D1AE45
RGBrgb(209, 174, 69)
HSLhsl(45, 60%, 55%)
HSVhsv(45, 67%, 82%)
CMYKcmyk(0%, 16.7%, 67%, 18%)
CIE-LABlab(72.40, 1.32, 56.71)
CIE-LCHlch(72.40, 56.72, 88.66°)
OKLaboklab(76.26% -0.0009 0.1281)
OKLCHoklch(76.26% 0.128 90.4)
XYZxyz(42.5069, 44.2596, 11.9331)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AE45 #4568D1
analogous
#D16845 #D1AE45 #AED145
triadic
#D1AE45 #45D1AE #AE45D1
tetradic
#D1AE45 #45D168 #4568D1 #D145AE
square
#D1AE45 #45D168 #4568D1 #D145AE
split-complementary
#D1AE45 #45AED1 #6845D1
monochromatic
#7D651F #AE8D2B #D1AE45 #DDC376 #E9D9A7

Accessibility & contrast

On white

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

On black

9.85
#D1AE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AE45
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AE45#FFFFFF#000000##000000
##D1AE451.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#E2A098
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1ae45;
/* rgb */ color: rgb(209, 174, 69);
/* oklch */ color: oklch(76.3% 0.128 90.4);
Tailwind
colors: {
  custom: {
    50: '#e3c57e',
    500: '#d1ae45',
    950: '#000000',
  },
}
SCSS
$custom: #d1ae45;
$custom-light: #e3c57e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ae45",
  "rgb": {
    "r": 209,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 45,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76264,
    "c": 0.12814,
    "h": 90.4
  },
  "luminance": 0.44257
}

Semantic roles & 50–950 ramp

primary
#D1AE45
secondary
#9BAAD7
accent
#6CE344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D1AE45

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

Preview Lab → · Contrast checker → · Palette generator →

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