#A2B52A#A2B52A

#A2B52A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.157 H 117.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A2B52A
RGBrgb(162, 181, 42)
HSLhsl(68, 62%, 44%)
HSVhsv(68, 77%, 71%)
CMYKcmyk(10.5%, 0%, 76.8%, 29%)
CIE-LABlab(70.10, -23.87, 63.29)
CIE-LCHlch(70.10, 67.64, 110.66°)
OKLaboklab(73.41% -0.072 0.139)
OKLCHoklch(73.41% 0.157 117.4)
XYZxyz(31.8429, 40.8967, 8.4064)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B52A #3D2AB5
analogous
#B5822A #A2B52A #5CB52A
triadic
#A2B52A #2AA2B5 #B52AA2
tetradic
#A2B52A #2AB582 #3D2AB5 #B52A5C
square
#A2B52A #2AB582 #3D2AB5 #B52A5C
split-complementary
#A2B52A #2A5CB5 #822AB5
monochromatic
#495213 #76831E #A2B52A #C1D448 #D2E079

Accessibility & contrast

On white

2.29
#A2B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A2B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B52A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B52A#FFFFFF#000000##000000
##A2B52A1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b52a;
/* rgb */ color: rgb(162, 181, 42);
/* oklch */ color: oklch(73.4% 0.157 117.4);
Tailwind
colors: {
  custom: {
    50: '#c1cb6f',
    500: '#a2b52a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b52a;
$custom-light: #c1cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b52a",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 68.201,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73411,
    "c": 0.15651,
    "h": 117.4
  },
  "luminance": 0.40896
}

Semantic roles & 50–950 ramp

primary
#A2B52A
secondary
#7E73C8
accent
#42E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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