#D2AE37#D2AE37

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

Color values

HEX#D2AE37
RGBrgb(210, 174, 55)
HSLhsl(46, 63%, 52%)
HSVhsv(46, 74%, 82%)
CMYKcmyk(0%, 17.1%, 73.8%, 17.6%)
CIE-LABlab(72.40, 1.04, 62.41)
CIE-LCHlch(72.40, 62.42, 89.04°)
OKLaboklab(76.25% -0.0034 0.1377)
OKLCHoklch(76.25% 0.138 91.4)
XYZxyz(42.4064, 44.2522, 9.9216)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE37 #375BD2
analogous
#D26137 #D2AE37 #A8D237
triadic
#D2AE37 #37D2AE #AE37D2
tetradic
#D2AE37 #37D261 #375BD2 #D237A8
square
#D2AE37 #37D261 #375BD2 #D237A8
split-complementary
#D2AE37 #37A8D2 #6137D2
monochromatic
#745F1A #A68825 #D2AE37 #DDC269 #E8D69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE37#FFFFFF#000000##000000
##D2AE371.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)
#C1AC24
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#E39F97
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae37;
/* rgb */ color: rgb(210, 174, 55);
/* oklch */ color: oklch(76.3% 0.138 91.4);
Tailwind
colors: {
  custom: {
    50: '#e4c576',
    500: '#d2ae37',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae37;
$custom-light: #e4c576;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae37",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 46.065,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7625,
    "c": 0.13771,
    "h": 91.4
  },
  "luminance": 0.4425
}

Semantic roles & 50–950 ramp

primary
#D2AE37
secondary
#90A0D4
accent
#68E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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