#D2AE3E#D2AE3E

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

Color values

HEX#D2AE3E
RGBrgb(210, 174, 62)
HSLhsl(45, 62%, 53%)
HSVhsv(45, 70%, 82%)
CMYKcmyk(0%, 17.1%, 70.5%, 17.6%)
CIE-LABlab(72.44, 1.37, 59.71)
CIE-LCHlch(72.44, 59.73, 88.68°)
OKLaboklab(76.3% -0.0017 0.1333)
OKLCHoklch(76.3% 0.133 90.7)
XYZxyz(42.5862, 44.3241, 10.8688)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE3E #3E62D2
analogous
#D2643E #D2AE3E #ACD23E
triadic
#D2AE3E #3ED2AE #AE3ED2
tetradic
#D2AE3E #3ED264 #3E62D2 #D23EAC
square
#D2AE3E #3ED264 #3E62D2 #D23EAC
split-complementary
#D2AE3E #3EACD2 #643ED2
monochromatic
#79631C #AB8B28 #D2AE3E #DEC370 #E9D8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE3E#FFFFFF#000000##000000
##D2AE3E1.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)
#C1AC2E
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae3e;
/* rgb */ color: rgb(210, 174, 62);
/* oklch */ color: oklch(76.3% 0.133 90.7);
Tailwind
colors: {
  custom: {
    50: '#e4c57a',
    500: '#d2ae3e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae3e;
$custom-light: #e4c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae3e",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 45.405,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76303,
    "c": 0.13328,
    "h": 90.7
  },
  "luminance": 0.44322
}

Semantic roles & 50–950 ramp

primary
#D2AE3E
secondary
#96A6D6
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2AE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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