#A2AF49#A2AF49

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

Color values

HEX#A2AF49
RGBrgb(162, 175, 73)
HSLhsl(68, 41%, 49%)
HSVhsv(68, 58%, 69%)
CMYKcmyk(7.4%, 0%, 58.3%, 31.4%)
CIE-LABlab(68.62, -18.98, 49.64)
CIE-LCHlch(68.62, 53.15, 110.93°)
OKLaboklab(72.3% -0.0554 0.1149)
OKLCHoklch(72.3% 0.128 115.8)
XYZxyz(31.4335, 38.8228, 12.1397)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF49 #5649AF
analogous
#AF8949 #A2AF49 #6FAF49
triadic
#A2AF49 #49A2AF #AF49A2
tetradic
#A2AF49 #49AF89 #5649AF #AF496F
square
#A2AF49 #49AF89 #5649AF #AF496F
split-complementary
#A2AF49 #496FAF #8949AF
monochromatic
#525925 #7A8437 #A2AF49 #B9C471 #CFD69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF49#FFFFFF#000000##000000
##A2AF491.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)
#BAA73E
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#ABA699
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af49;
/* rgb */ color: rgb(162, 175, 73);
/* oklch */ color: oklch(72.3% 0.128 115.8);
Tailwind
colors: {
  custom: {
    50: '#c0c680',
    500: '#a2af49',
    950: '#000000',
  },
}
SCSS
$custom: #a2af49;
$custom-light: #c0c680;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af49",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 67.647,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.12756,
    "h": 115.8
  },
  "luminance": 0.38822
}

Semantic roles & 50–950 ramp

primary
#A2AF49
secondary
#9891C2
accent
#57D166
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2AF49

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

Preview Lab → · Contrast checker → · Palette generator →

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