#D2AE3C#D2AE3C

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

Color values

HEX#D2AE3C
RGBrgb(210, 174, 60)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 71%, 82%)
CMYKcmyk(0%, 17.1%, 71.4%, 17.6%)
CIE-LABlab(72.43, 1.28, 60.50)
CIE-LCHlch(72.43, 60.52, 88.79°)
OKLaboklab(76.29% -0.0022 0.1346)
OKLCHoklch(76.29% 0.135 90.9)
XYZxyz(42.5323, 44.3025, 10.5851)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE3C #3C60D2
analogous
#D2633C #D2AE3C #ABD23C
triadic
#D2AE3C #3CD2AE #AE3CD2
tetradic
#D2AE3C #3CD263 #3C60D2 #D23CAB
square
#D2AE3C #3CD263 #3C60D2 #D23CAB
split-complementary
#D2AE3C #3CABD2 #633CD2
monochromatic
#78621C #AA8A27 #D2AE3C #DDC36E #E9D79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE3C#FFFFFF#000000##000000
##D2AE3C1.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)
#C1AC2B
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae3c;
/* rgb */ color: rgb(210, 174, 60);
/* oklch */ color: oklch(76.3% 0.135 90.9);
Tailwind
colors: {
  custom: {
    50: '#e4c578',
    500: '#d2ae3c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae3c;
$custom-light: #e4c578;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae3c",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 45.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76288,
    "c": 0.1346,
    "h": 90.9
  },
  "luminance": 0.443
}

Semantic roles & 50–950 ramp

primary
#D2AE3C
secondary
#94A4D5
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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