#A1C040#A1C040

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

Color values

HEX#A1C040
RGBrgb(161, 192, 64)
HSLhsl(75, 50%, 50%)
HSVhsv(75, 67%, 75%)
CMYKcmyk(16.1%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.32, -28.41, 58.52)
CIE-LCHlch(73.32, 65.05, 115.89°)
OKLaboklab(76.02% -0.0826 0.1325)
OKLCHoklch(76.02% 0.156 121.9)
XYZxyz(34.4734, 45.6465, 11.8440)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C040 #5F40C0
analogous
#C09F40 #A1C040 #61C040
triadic
#A1C040 #40A1C0 #C040A1
tetradic
#A1C040 #40C09F #5F40C0 #C04061
square
#A1C040 #40C09F #5F40C0 #C04061
split-complementary
#A1C040 #4061C0 #9F40C0
monochromatic
#546421 #7B9230 #A1C040 #B8CF6E #CEDE9C

Accessibility & contrast

On white

2.07
#A1C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#A1C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C040
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C040#FFFFFF#000000##000000
##A1C0401.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#A9B6A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a1c040;
/* rgb */ color: rgb(161, 192, 64);
/* oklch */ color: oklch(76.0% 0.156 121.9);
Tailwind
colors: {
  custom: {
    50: '#c0d37c',
    500: '#a1c040',
    950: '#000000',
  },
}
SCSS
$custom: #a1c040;
$custom-light: #c0d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c040",
  "rgb": {
    "r": 161,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 74.531,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76024,
    "c": 0.15611,
    "h": 121.9
  },
  "luminance": 0.45647
}

Semantic roles & 50–950 ramp

primary
#A1C040
secondary
#9F91CB
accent
#4EDA70
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A1C040

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

Preview Lab → · Contrast checker → · Palette generator →

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