#A2A72F#A2A72F

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

Color values

HEX#A2A72F
RGBrgb(162, 167, 47)
HSLhsl(63, 56%, 42%)
HSVhsv(63, 72%, 65%)
CMYKcmyk(3%, 0%, 71.9%, 34.5%)
CIE-LABlab(66.16, -16.61, 57.86)
CIE-LCHlch(66.16, 60.20, 106.02°)
OKLaboklab(70.25% -0.0515 0.1283)
OKLCHoklch(70.25% 0.138 111.8)
XYZxyz(29.2330, 35.5248, 8.0058)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A72F #342FA7
analogous
#A7702F #A2A72F #66A72F
triadic
#A2A72F #2FA2A7 #A72FA2
tetradic
#A2A72F #2FA770 #342FA7 #A72F66
square
#A2A72F #2FA770 #342FA7 #A72F66
split-complementary
#A2A72F #2F66A7 #702FA7
monochromatic
#454714 #747722 #A2A72F #C6CB48 #D5D978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A72F#FFFFFF#000000##000000
##A2A72F1.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)
#B49F19
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a72f;
/* rgb */ color: rgb(162, 167, 47);
/* oklch */ color: oklch(70.3% 0.138 111.8);
Tailwind
colors: {
  custom: {
    50: '#c1c070',
    500: '#a2a72f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a72f;
$custom-light: #c1c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a72f",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 62.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70253,
    "c": 0.13827,
    "h": 111.8
  },
  "luminance": 0.35524
}

Semantic roles & 50–950 ramp

primary
#A2A72F
secondary
#7471C1
accent
#48DF4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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