#A2A72D#A2A72D

#A2A72D is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.140 H 111.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A2A72D
RGBrgb(162, 167, 45)
HSLhsl(62, 58%, 42%)
HSVhsv(62, 73%, 65%)
CMYKcmyk(3%, 0%, 73.1%, 34.5%)
CIE-LABlab(66.14, -16.71, 58.57)
CIE-LCHlch(66.14, 60.91, 105.92°)
OKLaboklab(70.24% -0.0519 0.1295)
OKLCHoklch(70.24% 0.14 111.9)
XYZxyz(29.1936, 35.5090, 7.7982)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A72D #322DA7
analogous
#A76F2D #A2A72D #65A72D
triadic
#A2A72D #2DA2A7 #A72DA2
tetradic
#A2A72D #2DA76F #322DA7 #A72D65
square
#A2A72D #2DA76F #322DA7 #A72D65
split-complementary
#A2A72D #2D65A7 #6F2DA7
monochromatic
#444713 #737720 #A2A72D #C7CD44 #D6DA75

Accessibility & contrast

On white

2.59
#A2A72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A2A72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A72D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A72D#FFFFFF#000000##000000
##A2A72D1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F15
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a72d;
/* rgb */ color: rgb(162, 167, 45);
/* oklch */ color: oklch(70.2% 0.140 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c06f',
    500: '#a2a72d',
    950: '#000000',
  },
}
SCSS
$custom: #a2a72d;
$custom-light: #c1c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a72d",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 62.459,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70239,
    "c": 0.13951,
    "h": 111.9
  },
  "luminance": 0.35508
}

Semantic roles & 50–950 ramp

primary
#A2A72D
secondary
#726EC1
accent
#47E14D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A72D

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

Preview Lab → · Contrast checker → · Palette generator →

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