#A2C02F#A2C02F

#A2C02F is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.0% C 0.166 H 121.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#A2C02F
RGBrgb(162, 192, 47)
HSLhsl(72, 61%, 47%)
HSVhsv(72, 76%, 75%)
CMYKcmyk(15.6%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.28, -28.96, 64.65)
CIE-LCHlch(73.28, 70.84, 114.13°)
OKLaboklab(75.98% -0.0856 0.1427)
OKLCHoklch(75.98% 0.166 121)
XYZxyz(34.2636, 45.5859, 9.6827)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C02F #4D2FC0
analogous
#C0962F #A2C02F #5AC02F
triadic
#A2C02F #2FA2C0 #C02FA2
tetradic
#A2C02F #2FC096 #4D2FC0 #C02F5A
square
#A2C02F #2FC096 #4D2FC0 #C02F5A
split-complementary
#A2C02F #2F5AC0 #962FC0
monochromatic
#4F5E17 #798F23 #A2C02F #BBD656 #CFE288

Accessibility & contrast

On white

2.08
#A2C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#A2C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C02F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C02F#FFFFFF#000000##000000
##A2C02F1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB40A
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#ABB6A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2c02f;
/* rgb */ color: rgb(162, 192, 47);
/* oklch */ color: oklch(76.0% 0.166 121.0);
Tailwind
colors: {
  custom: {
    50: '#c1d373',
    500: '#a2c02f',
    950: '#000000',
  },
}
SCSS
$custom: #a2c02f;
$custom-light: #c1d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c02f",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 72.414,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75975,
    "c": 0.1664,
    "h": 121
  },
  "luminance": 0.45586
}

Semantic roles & 50–950 ramp

primary
#A2C02F
secondary
#8F7FCB
accent
#44E465
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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