#A2C31B#A2C31B

#A2C31B is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.6% C 0.178 H 121.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#A2C31B
RGBrgb(162, 195, 27)
HSLhsl(72, 76%, 44%)
HSVhsv(72, 86%, 76%)
CMYKcmyk(16.9%, 0%, 86.2%, 23.5%)
CIE-LABlab(74.06, -31.11, 70.66)
CIE-LCHlch(74.06, 77.20, 113.77°)
OKLaboklab(76.58% -0.0928 0.1523)
OKLCHoklch(76.58% 0.178 121.4)
XYZxyz(34.6139, 46.7907, 8.2447)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C31B #3C1BC3
analogous
#C3901B #A2C31B #4EC31B
triadic
#A2C31B #1BA2C3 #C31BA2
tetradic
#A2C31B #1BC390 #3C1BC3 #C31B4E
square
#A2C31B #1BC390 #3C1BC3 #C31B4E
split-complementary
#A2C31B #1B4EC3 #901BC3
monochromatic
#49570C #758D14 #A2C31B #C2E338 #D2EB6E

Accessibility & contrast

On white

2.03
#A2C31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#A2C31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C31B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C31B#FFFFFF#000000##000000
##A2C31B1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CBB630
Tritanopia (blue-blind)
#ABB8A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c31b;
/* rgb */ color: rgb(162, 195, 27);
/* oklch */ color: oklch(76.6% 0.178 121.4);
Tailwind
colors: {
  custom: {
    50: '#c2d56c',
    500: '#a2c31b',
    950: '#000000',
  },
}
SCSS
$custom: #a2c31b;
$custom-light: #c2d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c31b",
  "rgb": {
    "r": 162,
    "g": 195,
    "b": 27
  },
  "hsl": {
    "h": 71.786,
    "s": 75.676,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76579,
    "c": 0.17833,
    "h": 121.4
  },
  "luminance": 0.46791
}

Semantic roles & 50–950 ramp

primary
#A2C31B
secondary
#7D69D1
accent
#36F25B
background
#FCFDF6
surface
#F8FAEC
border
#D1D3C7
text
#131408
muted
#82837A

Preview Lab

Preview with #A2C31B

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

Preview Lab → · Contrast checker → · Palette generator →

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