#A1CB40#A1CB40

#A1CB40 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.6% C 0.170 H 124.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#A1CB40
RGBrgb(161, 203, 64)
HSLhsl(78, 57%, 52%)
HSVhsv(78, 68%, 80%)
CMYKcmyk(20.7%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.47, -33.57, 61.77)
CIE-LCHlch(76.47, 70.30, 118.52°)
OKLaboklab(78.57% -0.0968 0.1393)
OKLCHoklch(78.57% 0.17 124.8)
XYZxyz(36.9796, 50.6587, 12.6794)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1CB40 #6A40CB
analogous
#CBAF40 #A1CB40 #5CCB40
triadic
#A1CB40 #40A1CB #CB40A1
tetradic
#A1CB40 #40CBAF #6A40CB #CB405C
square
#A1CB40 #40CBAF #6A40CB #CB405C
split-complementary
#A1CB40 #405CCB #AF40CB
monochromatic
#59721F #7EA22C #A1CB40 #B9D870 #D0E5A0

Accessibility & contrast

On white

1.89
#A1CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#A1CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1CB40
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1CB40#FFFFFF#000000##000000
##A1CB401.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#A8C1AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a1cb40;
/* rgb */ color: rgb(161, 203, 64);
/* oklch */ color: oklch(78.6% 0.170 124.8);
Tailwind
colors: {
  custom: {
    50: '#c0db7d',
    500: '#a1cb40',
    950: '#000000',
  },
}
SCSS
$custom: #a1cb40;
$custom-light: #c0db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1cb40",
  "rgb": {
    "r": 161,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 78.129,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78573,
    "c": 0.16966,
    "h": 124.8
  },
  "luminance": 0.50659
}

Semantic roles & 50–950 ramp

primary
#A1CB40
secondary
#4A357B
accent
#47E076
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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