#A2AF47#A2AF47

#A2AF47 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.129 H 115.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A2AF47
RGBrgb(162, 175, 71)
HSLhsl(68, 42%, 48%)
HSVhsv(68, 59%, 69%)
CMYKcmyk(7.4%, 0%, 59.4%, 31.4%)
CIE-LABlab(68.60, -19.14, 50.53)
CIE-LCHlch(68.60, 54.03, 110.75°)
OKLaboklab(72.27% -0.0561 0.1165)
OKLCHoklch(72.27% 0.129 115.7)
XYZxyz(31.3682, 38.7967, 11.7961)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF47 #5447AF
analogous
#AF8847 #A2AF47 #6EAF47
triadic
#A2AF47 #47A2AF #AF47A2
tetradic
#A2AF47 #47AF88 #5447AF #AF476E
square
#A2AF47 #47AF88 #5447AF #AF476E
split-complementary
#A2AF47 #476EAF #8847AF
monochromatic
#515824 #7A8335 #A2AF47 #BAC46F #CFD69A

Accessibility & contrast

On white

2.40
#A2AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A2AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF47
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF47#FFFFFF#000000##000000
##A2AF471.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73B
Deuteranopia (green-blind)
#B9A84D
Tritanopia (blue-blind)
#ABA699
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af47;
/* rgb */ color: rgb(162, 175, 71);
/* oklch */ color: oklch(72.3% 0.129 115.7);
Tailwind
colors: {
  custom: {
    50: '#c0c67e',
    500: '#a2af47',
    950: '#000000',
  },
}
SCSS
$custom: #a2af47;
$custom-light: #c0c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af47",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 67.5,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72273,
    "c": 0.12932,
    "h": 115.7
  },
  "luminance": 0.38796
}

Semantic roles & 50–950 ramp

primary
#A2AF47
secondary
#968FC2
accent
#56D265
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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