#A1CB42#A1CB42

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

Color values

HEX#A1CB42
RGBrgb(161, 203, 66)
HSLhsl(78, 57%, 53%)
HSVhsv(78, 67%, 80%)
CMYKcmyk(20.7%, 0%, 67.5%, 20.4%)
CIE-LABlab(76.49, -33.44, 61.02)
CIE-LCHlch(76.49, 69.58, 118.73°)
OKLaboklab(78.59% -0.0963 0.138)
OKLCHoklch(78.59% 0.168 124.9)
XYZxyz(37.0375, 50.6819, 12.9845)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1CB42 #6C42CB
analogous
#CBB042 #A1CB42 #5DCB42
triadic
#A1CB42 #42A1CB #CB42A1
tetradic
#A1CB42 #42CBB0 #6C42CB #CB425D
square
#A1CB42 #42CBB0 #6C42CB #CB425D
split-complementary
#A1CB42 #425DCB #B042CB
monochromatic
#597320 #7FA32D #A1CB42 #B9D872 #D1E5A2

Accessibility & contrast

On white

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

On black

11.14
#A1CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1CB42
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1CB42#FFFFFF#000000##000000
##A1CB421.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1cb42;
/* rgb */ color: rgb(161, 203, 66);
/* oklch */ color: oklch(78.6% 0.168 124.9);
Tailwind
colors: {
  custom: {
    50: '#c0db7e',
    500: '#a1cb42',
    950: '#000000',
  },
}
SCSS
$custom: #a1cb42;
$custom-light: #c0db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1cb42",
  "rgb": {
    "r": 161,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 78.394,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78589,
    "c": 0.16829,
    "h": 124.9
  },
  "luminance": 0.50682
}

Semantic roles & 50–950 ramp

primary
#A1CB42
secondary
#4B357C
accent
#48E076
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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