#A2AF3B#A2AF3B

#A2AF3B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.139 H 115.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#A2AF3B
RGBrgb(162, 175, 59)
HSLhsl(67, 50%, 46%)
HSVhsv(67, 66%, 69%)
CMYKcmyk(7.4%, 0%, 66.3%, 31.4%)
CIE-LABlab(68.50, -19.99, 55.57)
CIE-LCHlch(68.50, 59.05, 109.78°)
OKLaboklab(72.16% -0.0597 0.1255)
OKLCHoklch(72.16% 0.139 115.4)
XYZxyz(31.0204, 38.6576, 9.9644)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF3B #483BAF
analogous
#AF823B #A2AF3B #68AF3B
triadic
#A2AF3B #3BA2AF #AF3BA2
tetradic
#A2AF3B #3BAF82 #483BAF #AF3B68
square
#A2AF3B #3BAF82 #483BAF #AF3B68
split-complementary
#A2AF3B #3B68AF #823BAF
monochromatic
#4D531C #78812C #A2AF3B #BDC95E #D0D88C

Accessibility & contrast

On white

2.41
#A2AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#A2AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF3B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF3B#FFFFFF#000000##000000
##A2AF3B1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62B
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af3b;
/* rgb */ color: rgb(162, 175, 59);
/* oklch */ color: oklch(72.2% 0.139 115.4);
Tailwind
colors: {
  custom: {
    50: '#c0c677',
    500: '#a2af3b',
    950: '#000000',
  },
}
SCSS
$custom: #a2af3b;
$custom-light: #c0c677;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af3b",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 66.724,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7216,
    "c": 0.13898,
    "h": 115.4
  },
  "luminance": 0.38657
}

Semantic roles & 50–950 ramp

primary
#A2AF3B
secondary
#8A83C3
accent
#4FD95E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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