#A2B532#A2B532

#A2B532 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.5% C 0.152 H 117.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A2B532
RGBrgb(162, 181, 50)
HSLhsl(69, 57%, 45%)
HSVhsv(69, 72%, 71%)
CMYKcmyk(10.5%, 0%, 72.4%, 29%)
CIE-LABlab(70.15, -23.49, 60.65)
CIE-LCHlch(70.15, 65.04, 111.17°)
OKLaboklab(73.46% -0.0703 0.1347)
OKLCHoklch(73.46% 0.152 117.6)
XYZxyz(32.0006, 40.9598, 9.2372)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B532 #4532B5
analogous
#B58632 #A2B532 #61B532
triadic
#A2B532 #32A2B5 #B532A2
tetradic
#A2B532 #32B586 #4532B5 #B53261
square
#A2B532 #32B586 #4532B5 #B53261
split-complementary
#A2B532 #3261B5 #8632B5
monochromatic
#4C5518 #778525 #A2B532 #BED054 #D0DD84

Accessibility & contrast

On white

2.28
#A2B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A2B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B532
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B532#FFFFFF#000000##000000
##A2B5321.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB19
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b532;
/* rgb */ color: rgb(162, 181, 50);
/* oklch */ color: oklch(73.5% 0.152 117.6);
Tailwind
colors: {
  custom: {
    50: '#c1cb73',
    500: '#a2b532',
    950: '#000000',
  },
}
SCSS
$custom: #a2b532;
$custom-light: #c1cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b532",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 68.702,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73461,
    "c": 0.15198,
    "h": 117.6
  },
  "luminance": 0.40959
}

Semantic roles & 50–950 ramp

primary
#A2B532
secondary
#877CC7
accent
#48E05E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B532

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

Preview Lab → · Contrast checker → · Palette generator →

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