#A1C02B#A1C02B

#A1C02B is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.9% C 0.169 H 121.2°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#A1C02B
RGBrgb(161, 192, 43)
HSLhsl(72, 63%, 46%)
HSVhsv(72, 78%, 75%)
CMYKcmyk(16.1%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.19, -29.55, 65.80)
CIE-LCHlch(73.19, 72.13, 114.18°)
OKLaboklab(75.88% -0.0875 0.1445)
OKLCHoklch(75.88% 0.169 121.2)
XYZxyz(33.9842, 45.4508, 9.2676)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C02B #4A2BC0
analogous
#C0942B #A1C02B #56C02B
triadic
#A1C02B #2BA1C0 #C02BA1
tetradic
#A1C02B #2BC094 #4A2BC0 #C02B56
square
#A1C02B #2BC094 #4A2BC0 #C02B56
split-complementary
#A1C02B #2B56C0 #942BC0
monochromatic
#4D5C15 #778E20 #A1C02B #BCD850 #CFE382

Accessibility & contrast

On white

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

On black

10.09
#A1C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C02B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C02B#FFFFFF#000000##000000
##A1C02B1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#AAB6A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a1c02b;
/* rgb */ color: rgb(161, 192, 43);
/* oklch */ color: oklch(75.9% 0.169 121.2);
Tailwind
colors: {
  custom: {
    50: '#c1d371',
    500: '#a1c02b',
    950: '#000000',
  },
}
SCSS
$custom: #a1c02b;
$custom-light: #c1d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c02b",
  "rgb": {
    "r": 161,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 72.483,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7588,
    "c": 0.16889,
    "h": 121.2
  },
  "luminance": 0.45451
}

Semantic roles & 50–950 ramp

primary
#A1C02B
secondary
#8C7BCC
accent
#41E664
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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