#A2AF33#A2AF33

#A2AF33 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.145 H 115.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A2AF33
RGBrgb(162, 175, 51)
HSLhsl(66, 55%, 44%)
HSVhsv(66, 71%, 69%)
CMYKcmyk(7.4%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.45, -20.46, 58.62)
CIE-LCHlch(68.45, 62.09, 109.23°)
OKLaboklab(72.1% -0.0618 0.1306)
OKLCHoklch(72.1% 0.145 115.3)
XYZxyz(30.8286, 38.5808, 8.9542)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF33 #4033AF
analogous
#AF7E33 #A2AF33 #64AF33
triadic
#A2AF33 #33A2AF #AF33A2
tetradic
#A2AF33 #33AF7E #4033AF #AF3364
square
#A2AF33 #33AF7E #4033AF #AF3364
split-complementary
#A2AF33 #3364AF #7E33AF
monochromatic
#4A5017 #768025 #A2AF33 #C0CD52 #D1DB82

Accessibility & contrast

On white

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

On black

8.72
#A2AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF33
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF33#FFFFFF#000000##000000
##A2AF331.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2af33;
/* rgb */ color: rgb(162, 175, 51);
/* oklch */ color: oklch(72.1% 0.145 115.3);
Tailwind
colors: {
  custom: {
    50: '#c1c673',
    500: '#a2af33',
    950: '#000000',
  },
}
SCSS
$custom: #a2af33;
$custom-light: #c1c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af33",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 66.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72097,
    "c": 0.14452,
    "h": 115.3
  },
  "luminance": 0.3858
}

Semantic roles & 50–950 ramp

primary
#A2AF33
secondary
#827AC4
accent
#4ADE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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