#D1AE28#D1AE28

#D1AE28 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.145 H 93.0°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#D1AE28
RGBrgb(209, 174, 40)
HSLhsl(48, 68%, 49%)
HSVhsv(48, 81%, 82%)
CMYKcmyk(0%, 16.7%, 80.9%, 18%)
CIE-LABlab(72.22, 0.03, 67.32)
CIE-LCHlch(72.22, 67.32, 89.97°)
OKLaboklab(76.06% -0.0077 0.1452)
OKLCHoklch(76.06% 0.145 93)
XYZxyz(41.8160, 43.9832, 8.2942)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AE28 #284BD1
analogous
#D15A28 #D1AE28 #A0D128
triadic
#D1AE28 #28D1AE #AE28D1
tetradic
#D1AE28 #28D15A #284BD1 #D128A0
square
#D1AE28 #28D15A #284BD1 #D128A0
split-complementary
#D1AE28 #28A0D1 #5A28D1
monochromatic
#6A5814 #9E831E #D1AE28 #DFC357 #E9D58B

Accessibility & contrast

On white

2.14
#D1AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#D1AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AE28
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AE28#FFFFFF#000000##000000
##D1AE281.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#CAB531
Tritanopia (blue-blind)
#E29F95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d1ae28;
/* rgb */ color: rgb(209, 174, 40);
/* oklch */ color: oklch(76.1% 0.145 93.0);
Tailwind
colors: {
  custom: {
    50: '#e4c56f',
    500: '#d1ae28',
    950: '#000000',
  },
}
SCSS
$custom: #d1ae28;
$custom-light: #e4c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ae28",
  "rgb": {
    "r": 209,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 47.574,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7606,
    "c": 0.14539,
    "h": 93
  },
  "luminance": 0.43981
}

Semantic roles & 50–950 ramp

primary
#D1AE28
secondary
#8293D3
accent
#61EB3D
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #D1AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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