#A1C231#A1C231

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

Color values

HEX#A1C231
RGBrgb(161, 194, 49)
HSLhsl(74, 60%, 48%)
HSVhsv(74, 75%, 76%)
CMYKcmyk(17%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.79, -30.22, 64.47)
CIE-LCHlch(73.79, 71.20, 115.11°)
OKLaboklab(76.38% -0.0889 0.1426)
OKLCHoklch(76.38% 0.168 121.9)
XYZxyz(34.5446, 46.3823, 10.0379)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C231 #5231C2
analogous
#C29A31 #A1C231 #59C231
triadic
#A1C231 #31A1C2 #C231A1
tetradic
#A1C231 #31C29A #5231C2 #C23159
square
#A1C231 #31C29A #5231C2 #C23159
split-complementary
#A1C231 #3159C2 #9A31C2
monochromatic
#506018 #789125 #A1C231 #BAD65B #CEE28C

Accessibility & contrast

On white

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

On black

10.28
#A1C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C231
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C231#FFFFFF#000000##000000
##A1C2311.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1c231;
/* rgb */ color: rgb(161, 194, 49);
/* oklch */ color: oklch(76.4% 0.168 121.9);
Tailwind
colors: {
  custom: {
    50: '#c0d474',
    500: '#a1c231',
    950: '#000000',
  },
}
SCSS
$custom: #a1c231;
$custom-light: #c0d474;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c231",
  "rgb": {
    "r": 161,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 73.655,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76378,
    "c": 0.16806,
    "h": 121.9
  },
  "luminance": 0.46382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1C231

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

Preview Lab → · Contrast checker → · Palette generator →

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