#A2C231#A2C231

#A2C231 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.4% C 0.168 H 121.6°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#A2C231
RGBrgb(162, 194, 49)
HSLhsl(73, 60%, 48%)
HSVhsv(73, 75%, 76%)
CMYKcmyk(16.5%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.86, -29.81, 64.55)
CIE-LCHlch(73.86, 71.11, 114.79°)
OKLaboklab(76.45% -0.0878 0.1428)
OKLCHoklch(76.45% 0.168 121.6)
XYZxyz(34.7470, 46.4867, 10.0474)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C231 #5131C2
analogous
#C29931 #A2C231 #5AC231
triadic
#A2C231 #31A2C2 #C231A2
tetradic
#A2C231 #31C299 #5131C2 #C2315A
square
#A2C231 #31C299 #5131C2 #C2315A
split-complementary
#A2C231 #315AC2 #9931C2
monochromatic
#506018 #799125 #A2C231 #BAD65B #CFE28C

Accessibility & contrast

On white

2.04
#A2C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#A2C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C231
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C231#FFFFFF#000000##000000
##A2C2311.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60F
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#ABB8A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c231;
/* rgb */ color: rgb(162, 194, 49);
/* oklch */ color: oklch(76.4% 0.168 121.6);
Tailwind
colors: {
  custom: {
    50: '#c1d474',
    500: '#a2c231',
    950: '#000000',
  },
}
SCSS
$custom: #a2c231;
$custom-light: #c1d474;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c231",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 73.241,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7645,
    "c": 0.16763,
    "h": 121.6
  },
  "luminance": 0.46487
}

Semantic roles & 50–950 ramp

primary
#A2C231
secondary
#9383CC
accent
#45E368
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C231

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

Preview Lab → · Contrast checker → · Palette generator →

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