#A2B732#A2B732

#A2B732 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 73.9% C 0.154 H 118.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A2B732
RGBrgb(162, 183, 50)
HSLhsl(69, 57%, 46%)
HSVhsv(69, 73%, 72%)
CMYKcmyk(11.5%, 0%, 72.7%, 28.2%)
CIE-LABlab(70.72, -24.47, 61.20)
CIE-LCHlch(70.72, 65.91, 111.79°)
OKLaboklab(73.92% -0.073 0.1359)
OKLCHoklch(73.92% 0.154 118.2)
XYZxyz(32.4102, 41.7789, 9.3738)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B732 #4732B7
analogous
#B78A32 #A2B732 #5FB732
triadic
#A2B732 #32A2B7 #B732A2
tetradic
#A2B732 #32B78A #4732B7 #B7325F
square
#A2B732 #32B78A #4732B7 #B7325F
split-complementary
#A2B732 #325FB7 #8A32B7
monochromatic
#4D5718 #778725 #A2B732 #BDD156 #D0DE86

Accessibility & contrast

On white

2.24
#A2B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A2B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B732
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B732#FFFFFF#000000##000000
##A2B7321.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD18
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b732;
/* rgb */ color: rgb(162, 183, 50);
/* oklch */ color: oklch(73.9% 0.154 118.2);
Tailwind
colors: {
  custom: {
    50: '#c1cc73',
    500: '#a2b732',
    950: '#000000',
  },
}
SCSS
$custom: #a2b732;
$custom-light: #c1cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b732",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 69.474,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7392,
    "c": 0.15428,
    "h": 118.2
  },
  "luminance": 0.41779
}

Semantic roles & 50–950 ramp

primary
#A2B732
secondary
#897DC7
accent
#47E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B732

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

Preview Lab → · Contrast checker → · Palette generator →

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