#D2AB36#D2AB36

#D2AB36 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.137 H 89.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#D2AB36
RGBrgb(210, 171, 54)
HSLhsl(45, 63%, 52%)
HSVhsv(45, 74%, 82%)
CMYKcmyk(0%, 18.6%, 74.3%, 17.6%)
CIE-LABlab(71.62, 2.59, 62.04)
CIE-LCHlch(71.62, 62.09, 87.61°)
OKLaboklab(75.64% 0.0009 0.1367)
OKLCHoklch(75.64% 0.137 89.6)
XYZxyz(41.8095, 43.0965, 9.6056)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AB36 #365DD2
analogous
#D25D36 #D2AB36 #ABD236
triadic
#D2AB36 #36D2AB #AB36D2
tetradic
#D2AB36 #36D25D #365DD2 #D236AB
square
#D2AB36 #36D25D #365DD2 #D236AB
split-complementary
#D2AB36 #36ABD2 #5D36D2
monochromatic
#745D1A #A68625 #D2AB36 #DDC068 #E8D59A

Accessibility & contrast

On white

2.18
#D2AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#D2AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AB36
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AB36#FFFFFF#000000##000000
##D2AB361.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA923
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#E39C94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d2ab36;
/* rgb */ color: rgb(210, 171, 54);
/* oklch */ color: oklch(75.6% 0.137 89.6);
Tailwind
colors: {
  custom: {
    50: '#e4c375',
    500: '#d2ab36',
    950: '#000000',
  },
}
SCSS
$custom: #d2ab36;
$custom-light: #e4c375;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ab36",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 45,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75636,
    "c": 0.13668,
    "h": 89.6
  },
  "luminance": 0.43094
}

Semantic roles & 50–950 ramp

primary
#D2AB36
secondary
#90A1D4
accent
#6BE641
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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