#A1CF40#A1CF40

#A1CF40 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.5% C 0.175 H 125.7°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#A1CF40
RGBrgb(161, 207, 64)
HSLhsl(79, 60%, 53%)
HSVhsv(79, 69%, 81%)
CMYKcmyk(22.2%, 0%, 69.1%, 18.8%)
CIE-LABlab(77.62, -35.41, 62.94)
CIE-LCHlch(77.62, 72.21, 119.36°)
OKLaboklab(79.5% -0.1019 0.1418)
OKLCHoklch(79.5% 0.175 125.7)
XYZxyz(37.9364, 52.5724, 12.9983)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1CF40 #6E40CF
analogous
#CFB640 #A1CF40 #59CF40
triadic
#A1CF40 #40A1CF #CF40A1
tetradic
#A1CF40 #40CFB6 #6E40CF #CF4059
square
#A1CF40 #40CFB6 #6E40CF #CF4059
split-complementary
#A1CF40 #4059CF #B640CF
monochromatic
#5A771E #7FA82A #A1CF40 #B9DB71 #D1E8A2

Accessibility & contrast

On white

1.82
#A1CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#A1CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1CF40
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1CF40#FFFFFF#000000##000000
##A1CF401.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC229
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#A8C5B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a1cf40;
/* rgb */ color: rgb(161, 207, 64);
/* oklch */ color: oklch(79.5% 0.175 125.7);
Tailwind
colors: {
  custom: {
    50: '#c0dd7d',
    500: '#a1cf40',
    950: '#000000',
  },
}
SCSS
$custom: #a1cf40;
$custom-light: #c0dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1cf40",
  "rgb": {
    "r": 161,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 79.301,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79503,
    "c": 0.17457,
    "h": 125.7
  },
  "luminance": 0.52573
}

Semantic roles & 50–950 ramp

primary
#A1CF40
secondary
#4C347F
accent
#45E378
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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