#D2AC39#D2AC39

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

Color values

HEX#D2AC39
RGBrgb(210, 172, 57)
HSLhsl(45, 63%, 52%)
HSVhsv(45, 73%, 82%)
CMYKcmyk(0%, 18.1%, 72.9%, 17.6%)
CIE-LABlab(71.90, 2.19, 61.16)
CIE-LCHlch(71.90, 61.19, 87.95°)
OKLaboklab(75.86% 0.0001 0.1354)
OKLCHoklch(75.86% 0.135 90)
XYZxyz(42.0718, 43.5047, 10.0514)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AC39 #395FD2
analogous
#D26039 #D2AC39 #ACD239
triadic
#D2AC39 #39D2AC #AC39D2
tetradic
#D2AC39 #39D260 #395FD2 #D239AC
square
#D2AC39 #39D260 #395FD2 #D239AC
split-complementary
#D2AC39 #39ACD2 #6039D2
monochromatic
#765F1B #A88826 #D2AC39 #DDC16B #E9D69D

Accessibility & contrast

On white

2.16
#D2AC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AC39#FFFFFF#000000##000000
##D2AC391.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ac39;
/* rgb */ color: rgb(210, 172, 57);
/* oklch */ color: oklch(75.9% 0.135 90.0);
Tailwind
colors: {
  custom: {
    50: '#e4c477',
    500: '#d2ac39',
    950: '#000000',
  },
}
SCSS
$custom: #d2ac39;
$custom-light: #e4c477;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ac39",
  "rgb": {
    "r": 210,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 45.098,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7586,
    "c": 0.13539,
    "h": 90
  },
  "luminance": 0.43502
}

Semantic roles & 50–950 ramp

primary
#D2AC39
secondary
#92A3D5
accent
#6BE642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AC39

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

Preview Lab → · Contrast checker → · Palette generator →

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