#D2AE39#D2AE39

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

Color values

HEX#D2AE39
RGBrgb(210, 174, 57)
HSLhsl(46, 63%, 52%)
HSVhsv(46, 73%, 82%)
CMYKcmyk(0%, 17.1%, 72.9%, 17.6%)
CIE-LABlab(72.41, 1.13, 61.66)
CIE-LCHlch(72.41, 61.67, 88.95°)
OKLaboklab(76.27% -0.0029 0.1365)
OKLCHoklch(76.27% 0.136 91.2)
XYZxyz(42.4553, 44.2717, 10.1792)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE39 #395DD2
analogous
#D26139 #D2AE39 #AAD239
triadic
#D2AE39 #39D2AE #AE39D2
tetradic
#D2AE39 #39D261 #395DD2 #D239AA
square
#D2AE39 #39D261 #395DD2 #D239AA
split-complementary
#D2AE39 #39AAD2 #6139D2
monochromatic
#76601B #A88926 #D2AE39 #DDC26B #E9D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE39#FFFFFF#000000##000000
##D2AE391.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)
#C1AC27
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae39;
/* rgb */ color: rgb(210, 174, 57);
/* oklch */ color: oklch(76.3% 0.136 91.2);
Tailwind
colors: {
  custom: {
    50: '#e4c577',
    500: '#d2ae39',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae39;
$custom-light: #e4c577;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae39",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 45.882,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76265,
    "c": 0.13649,
    "h": 91.2
  },
  "luminance": 0.44269
}

Semantic roles & 50–950 ramp

primary
#D2AE39
secondary
#92A2D5
accent
#68E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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