#D2AD3C#D2AD3C

#D2AD3C is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.1% C 0.134 H 90.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#D2AD3C
RGBrgb(210, 173, 60)
HSLhsl(45, 63%, 53%)
HSVhsv(45, 71%, 82%)
CMYKcmyk(0%, 17.6%, 71.4%, 17.6%)
CIE-LABlab(72.17, 1.80, 60.25)
CIE-LCHlch(72.17, 60.27, 88.28°)
OKLaboklab(76.09% -0.0007 0.134)
OKLCHoklch(76.09% 0.134 90.3)
XYZxyz(42.3399, 43.9176, 10.5209)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AD3C #3C61D2
analogous
#D2623C #D2AD3C #ACD23C
triadic
#D2AD3C #3CD2AD #AD3CD2
tetradic
#D2AD3C #3CD262 #3C61D2 #D23CAC
square
#D2AD3C #3CD262 #3C61D2 #D23CAC
split-complementary
#D2AD3C #3CACD2 #623CD2
monochromatic
#78611C #AA8927 #D2AD3C #DDC26E #E9D79F

Accessibility & contrast

On white

2.15
#D2AD3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#D2AD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AD3C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AD3C#FFFFFF#000000##000000
##D2AD3C1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2C
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#E39F96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d2ad3c;
/* rgb */ color: rgb(210, 173, 60);
/* oklch */ color: oklch(76.1% 0.134 90.3);
Tailwind
colors: {
  custom: {
    50: '#e4c578',
    500: '#d2ad3c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ad3c;
$custom-light: #e4c578;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ad3c",
  "rgb": {
    "r": 210,
    "g": 173,
    "b": 60
  },
  "hsl": {
    "h": 45.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.13403,
    "h": 90.3
  },
  "luminance": 0.43915
}

Semantic roles & 50–950 ramp

primary
#D2AD3C
secondary
#94A4D5
accent
#6BE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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