#D2AA2C#D2AA2C

#D2AA2C is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.4% C 0.142 H 89.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D2AA2C
RGBrgb(210, 170, 44)
HSLhsl(46, 65%, 50%)
HSVhsv(46, 79%, 82%)
CMYKcmyk(0%, 19%, 79%, 17.6%)
CIE-LABlab(71.31, 2.72, 65.28)
CIE-LCHlch(71.31, 65.34, 87.61°)
OKLaboklab(75.37% 0.0003 0.1416)
OKLCHoklch(75.37% 0.142 89.9)
XYZxyz(41.4102, 42.6357, 8.4308)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AA2C #2C54D2
analogous
#D2572C #D2AA2C #A7D22C
triadic
#D2AA2C #2CD2AA #AA2CD2
tetradic
#D2AA2C #2CD257 #2C54D2 #D22CA7
square
#D2AA2C #2CD257 #2C54D2 #D22CA7
split-complementary
#D2AA2C #2CA7D2 #572CD2
monochromatic
#6D5817 #9F8121 #D2AA2C #DDBF5E #E8D391

Accessibility & contrast

On white

2.20
#D2AA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#D2AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AA2C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AA2C#FFFFFF#000000##000000
##D2AA2C1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80F
Deuteranopia (green-blind)
#C8B334
Tritanopia (blue-blind)
#E49B92
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d2aa2c;
/* rgb */ color: rgb(210, 170, 44);
/* oklch */ color: oklch(75.4% 0.142 89.9);
Tailwind
colors: {
  custom: {
    50: '#e5c270',
    500: '#d2aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #d2aa2c;
$custom-light: #e5c270;
$custom-dark: #000000;
JSON
{
  "hex": "#d2aa2c",
  "rgb": {
    "r": 210,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 45.542,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75371,
    "c": 0.14157,
    "h": 89.9
  },
  "luminance": 0.42633
}

Semantic roles & 50–950 ramp

primary
#D2AA2C
secondary
#8799D2
accent
#68E83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D2AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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