#D1AE3B#D1AE3B

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

Color values

HEX#D1AE3B
RGBrgb(209, 174, 59)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 72%, 82%)
CMYKcmyk(0%, 16.7%, 71.8%, 18%)
CIE-LABlab(72.33, 0.79, 60.76)
CIE-LCHlch(72.33, 60.77, 89.25°)
OKLaboklab(76.18% -0.0036 0.135)
OKLCHoklch(76.18% 0.135 91.5)
XYZxyz(42.2223, 44.1457, 10.4339)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AE3B #3B5ED1
analogous
#D1633B #D1AE3B #A9D13B
triadic
#D1AE3B #3BD1AE #AE3BD1
tetradic
#D1AE3B #3BD163 #3B5ED1 #D13BA9
square
#D1AE3B #3BD163 #3B5ED1 #D13BA9
split-complementary
#D1AE3B #3BA9D1 #633BD1
monochromatic
#76611C #A78A27 #D1AE3B #DDC26D #E8D79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1AE3B#FFFFFF#000000##000000
##D1AE3B1.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)
#C1AC2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E2A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d1ae3b;
/* rgb */ color: rgb(209, 174, 59);
/* oklch */ color: oklch(76.2% 0.135 91.5);
Tailwind
colors: {
  custom: {
    50: '#e3c578',
    500: '#d1ae3b',
    950: '#000000',
  },
}
SCSS
$custom: #d1ae3b;
$custom-light: #e3c578;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ae3b",
  "rgb": {
    "r": 209,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 46,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.13503,
    "h": 91.5
  },
  "luminance": 0.44143
}

Semantic roles & 50–950 ramp

primary
#D1AE3B
secondary
#93A3D4
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D1AE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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