#D1AE3E#D1AE3E

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

Color values

HEX#D1AE3E
RGBrgb(209, 174, 62)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 16.7%, 70.3%, 18%)
CIE-LABlab(72.35, 0.94, 59.58)
CIE-LCHlch(72.35, 59.59, 89.09°)
OKLaboklab(76.2% -0.0029 0.133)
OKLCHoklch(76.2% 0.133 91.2)
XYZxyz(42.3023, 44.1777, 10.8555)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AE3E #3E61D1
analogous
#D1643E #D1AE3E #ABD13E
triadic
#D1AE3E #3ED1AE #AE3ED1
tetradic
#D1AE3E #3ED164 #3E61D1 #D13EAB
square
#D1AE3E #3ED164 #3E61D1 #D13EAB
split-complementary
#D1AE3E #3EABD1 #643ED1
monochromatic
#78621D #A98B28 #D1AE3E #DDC36F #E9D7A1

Accessibility & contrast

On white

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

On black

9.83
#D1AE3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AE3E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AE3E#FFFFFF#000000##000000
##D1AE3E1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#E2A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d1ae3e;
/* rgb */ color: rgb(209, 174, 62);
/* oklch */ color: oklch(76.2% 0.133 91.2);
Tailwind
colors: {
  custom: {
    50: '#e3c57a',
    500: '#d1ae3e',
    950: '#000000',
  },
}
SCSS
$custom: #d1ae3e;
$custom-light: #e3c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ae3e",
  "rgb": {
    "r": 209,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 45.714,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.13306,
    "h": 91.2
  },
  "luminance": 0.44175
}

Semantic roles & 50–950 ramp

primary
#D1AE3E
secondary
#96A5D5
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D1AE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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