#A2B032#A2B032

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

Color values

HEX#A2B032
RGBrgb(162, 176, 50)
HSLhsl(67, 56%, 44%)
HSVhsv(67, 72%, 69%)
CMYKcmyk(8%, 0%, 71.6%, 31%)
CIE-LABlab(68.72, -21.01, 59.26)
CIE-LCHlch(68.72, 62.88, 109.52°)
OKLaboklab(72.32% -0.0634 0.1318)
OKLCHoklch(72.32% 0.146 115.7)
XYZxyz(31.0021, 38.9628, 8.9044)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B032 #4032B0
analogous
#B07F32 #A2B032 #63B032
triadic
#A2B032 #32A2B0 #B032A2
tetradic
#A2B032 #32B07F #4032B0 #B03263
square
#A2B032 #32B07F #4032B0 #B03263
split-complementary
#A2B032 #3263B0 #7F32B0
monochromatic
#4A5117 #768024 #A2B032 #C0CE51 #D1DB81

Accessibility & contrast

On white

2.39
#A2B032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#A2B032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B032
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B032#FFFFFF#000000##000000
##A2B0321.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71B
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b032;
/* rgb */ color: rgb(162, 176, 50);
/* oklch */ color: oklch(72.3% 0.146 115.7);
Tailwind
colors: {
  custom: {
    50: '#c1c772',
    500: '#a2b032',
    950: '#000000',
  },
}
SCSS
$custom: #a2b032;
$custom-light: #c1c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b032",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 66.667,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.14628,
    "h": 115.7
  },
  "luminance": 0.38962
}

Semantic roles & 50–950 ramp

primary
#A2B032
secondary
#8279C4
accent
#49DF59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B032

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

Preview Lab → · Contrast checker → · Palette generator →

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