#D2AE3A#D2AE3A

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

Color values

HEX#D2AE3A
RGBrgb(210, 174, 58)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 72%, 82%)
CMYKcmyk(0%, 17.1%, 72.4%, 17.6%)
CIE-LABlab(72.42, 1.18, 61.28)
CIE-LCHlch(72.42, 61.29, 88.90°)
OKLaboklab(76.27% -0.0027 0.1358)
OKLCHoklch(76.27% 0.136 91.1)
XYZxyz(42.4805, 44.2818, 10.3119)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE3A #3A5ED2
analogous
#D2623A #D2AE3A #AAD23A
triadic
#D2AE3A #3AD2AE #AE3AD2
tetradic
#D2AE3A #3AD262 #3A5ED2 #D23AAA
square
#D2AE3A #3AD262 #3A5ED2 #D23AAA
split-complementary
#D2AE3A #3AAAD2 #623AD2
monochromatic
#77611B #A88A26 #D2AE3A #DDC26C #E9D79E

Accessibility & contrast

On white

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

On black

9.86
#D2AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AE3A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AE3A#FFFFFF#000000##000000
##D2AE3A1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC28
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae3a;
/* rgb */ color: rgb(210, 174, 58);
/* oklch */ color: oklch(76.3% 0.136 91.1);
Tailwind
colors: {
  custom: {
    50: '#e4c577',
    500: '#d2ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae3a;
$custom-light: #e4c577;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae3a",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 45.789,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.13587,
    "h": 91.1
  },
  "luminance": 0.44279
}

Semantic roles & 50–950 ramp

primary
#D2AE3A
secondary
#93A3D5
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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