#D2AC37#D2AC37

#D2AC37 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.137 H 90.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#D2AC37
RGBrgb(210, 172, 55)
HSLhsl(45, 63%, 52%)
HSVhsv(45, 74%, 82%)
CMYKcmyk(0%, 18.1%, 73.8%, 17.6%)
CIE-LABlab(71.88, 2.10, 61.91)
CIE-LCHlch(71.88, 61.95, 88.06°)
OKLaboklab(75.85% -0.0004 0.1366)
OKLCHoklch(75.85% 0.137 90.2)
XYZxyz(42.0229, 43.4852, 9.7938)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AC37 #375DD2
analogous
#D25F37 #D2AC37 #ABD237
triadic
#D2AC37 #37D2AC #AC37D2
tetradic
#D2AC37 #37D25F #375DD2 #D237AB
square
#D2AC37 #37D25F #375DD2 #D237AB
split-complementary
#D2AC37 #37ABD2 #5F37D2
monochromatic
#745E1A #A68725 #D2AC37 #DDC169 #E8D59B

Accessibility & contrast

On white

2.17
#D2AC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#D2AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AC37
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AC37#FFFFFF#000000##000000
##D2AC371.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#E39D95
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d2ac37;
/* rgb */ color: rgb(210, 172, 55);
/* oklch */ color: oklch(75.8% 0.137 90.2);
Tailwind
colors: {
  custom: {
    50: '#e4c476',
    500: '#d2ac37',
    950: '#000000',
  },
}
SCSS
$custom: #d2ac37;
$custom-light: #e4c476;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ac37",
  "rgb": {
    "r": 210,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 45.29,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75845,
    "c": 0.13661,
    "h": 90.2
  },
  "luminance": 0.43483
}

Semantic roles & 50–950 ramp

primary
#D2AC37
secondary
#90A1D4
accent
#6AE641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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