#A2BB42#A2BB42

#A2BB42 is a light, vivid yellow-green. Relative luminance 0.436; OKLCH L 75.0% C 0.148 H 120.1°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A2BB42
RGBrgb(162, 187, 66)
HSLhsl(72, 48%, 50%)
HSVhsv(72, 65%, 73%)
CMYKcmyk(13.4%, 0%, 64.7%, 26.7%)
CIE-LABlab(71.97, -25.45, 56.32)
CIE-LCHlch(71.97, 61.81, 114.32°)
OKLaboklab(74.96% -0.0742 0.1281)
OKLCHoklch(74.96% 0.148 120.1)
XYZxyz(33.6545, 43.6155, 11.7989)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB42 #5B42BB
analogous
#BB9842 #A2BB42 #65BB42
triadic
#A2BB42 #42A2BB #BB42A2
tetradic
#A2BB42 #42BB98 #5B42BB #BB4265
square
#A2BB42 #42BB98 #5B42BB #BB4265
split-complementary
#A2BB42 #4265BB #9842BB
monochromatic
#546122 #7B8E32 #A2BB42 #B9CC6E #CFDC9C

Accessibility & contrast

On white

2.16
#A2BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A2BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB42
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB42#FFFFFF#000000##000000
##A2BB421.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B132
Deuteranopia (green-blind)
#C3B14B
Tritanopia (blue-blind)
#ABB1A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb42;
/* rgb */ color: rgb(162, 187, 66);
/* oklch */ color: oklch(75.0% 0.148 120.1);
Tailwind
colors: {
  custom: {
    50: '#c0cf7c',
    500: '#a2bb42',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb42;
$custom-light: #c0cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb42",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 72.397,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74963,
    "c": 0.14808,
    "h": 120.1
  },
  "luminance": 0.43615
}

Semantic roles & 50–950 ramp

primary
#A2BB42
secondary
#9C91C8
accent
#50D76C
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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