#D2AE3D#D2AE3D

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

Color values

HEX#D2AE3D
RGBrgb(210, 174, 61)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 71%, 82%)
CMYKcmyk(0%, 17.1%, 71%, 17.6%)
CIE-LABlab(72.44, 1.32, 60.11)
CIE-LCHlch(72.44, 60.13, 88.74°)
OKLaboklab(76.3% -0.0019 0.1339)
OKLCHoklch(76.3% 0.134 90.8)
XYZxyz(42.5590, 44.3132, 10.7256)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE3D #3D61D2
analogous
#D2633D #D2AE3D #ACD23D
triadic
#D2AE3D #3DD2AE #AE3DD2
tetradic
#D2AE3D #3DD263 #3D61D2 #D23DAC
square
#D2AE3D #3DD263 #3D61D2 #D23DAC
split-complementary
#D2AE3D #3DACD2 #633DD2
monochromatic
#79621C #AA8B28 #D2AE3D #DEC36F #E9D7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE3D#FFFFFF#000000##000000
##D2AE3D1.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)
#C1AC2D
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae3d;
/* rgb */ color: rgb(210, 174, 61);
/* oklch */ color: oklch(76.3% 0.134 90.8);
Tailwind
colors: {
  custom: {
    50: '#e4c579',
    500: '#d2ae3d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae3d;
$custom-light: #e4c579;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae3d",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 45.503,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.13394,
    "h": 90.8
  },
  "luminance": 0.44311
}

Semantic roles & 50–950 ramp

primary
#D2AE3D
secondary
#95A5D6
accent
#6AE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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