#A2AF46#A2AF46

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

Color values

HEX#A2AF46
RGBrgb(162, 175, 70)
HSLhsl(67, 43%, 48%)
HSVhsv(67, 60%, 69%)
CMYKcmyk(7.4%, 0%, 60%, 31.4%)
CIE-LABlab(68.59, -19.22, 50.96)
CIE-LCHlch(68.59, 54.47, 110.66°)
OKLaboklab(72.26% -0.0564 0.1173)
OKLCHoklch(72.26% 0.13 115.7)
XYZxyz(31.3364, 38.7840, 11.6284)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF46 #5346AF
analogous
#AF8846 #A2AF46 #6DAF46
triadic
#A2AF46 #46A2AF #AF46A2
tetradic
#A2AF46 #46AF88 #5346AF #AF466D
square
#A2AF46 #46AF88 #5346AF #AF466D
split-complementary
#A2AF46 #466DAF #8846AF
monochromatic
#515823 #7A8335 #A2AF46 #BAC56D #CFD699

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF46#FFFFFF#000000##000000
##A2AF461.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)
#BAA73A
Deuteranopia (green-blind)
#B9A84D
Tritanopia (blue-blind)
#ABA699
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af46;
/* rgb */ color: rgb(162, 175, 70);
/* oklch */ color: oklch(72.3% 0.130 115.7);
Tailwind
colors: {
  custom: {
    50: '#c0c67e',
    500: '#a2af46',
    950: '#000000',
  },
}
SCSS
$custom: #a2af46;
$custom-light: #c0c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af46",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 67.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.13018,
    "h": 115.7
  },
  "luminance": 0.38784
}

Semantic roles & 50–950 ramp

primary
#A2AF46
secondary
#958EC2
accent
#55D365
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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