#A2CB40#A2CB40

#A2CB40 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.6% C 0.169 H 124.5°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#A2CB40
RGBrgb(162, 203, 64)
HSLhsl(78, 57%, 52%)
HSVhsv(78, 68%, 80%)
CMYKcmyk(20.2%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.54, -33.18, 61.85)
CIE-LCHlch(76.54, 70.19, 118.21°)
OKLaboklab(78.64% -0.0958 0.1395)
OKLCHoklch(78.64% 0.169 124.5)
XYZxyz(37.1819, 50.7631, 12.6889)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB40 #6940CB
analogous
#CBAF40 #A2CB40 #5CCB40
triadic
#A2CB40 #40A2CB #CB40A2
tetradic
#A2CB40 #40CBAF #6940CB #CB405C
square
#A2CB40 #40CBAF #6940CB #CB405C
split-complementary
#A2CB40 #405CCB #AF40CB
monochromatic
#59721F #7FA22C #A2CB40 #B9D870 #D1E5A0

Accessibility & contrast

On white

1.88
#A2CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#A2CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CB40
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CB40#FFFFFF#000000##000000
##A2CB401.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2cb40;
/* rgb */ color: rgb(162, 203, 64);
/* oklch */ color: oklch(78.6% 0.169 124.5);
Tailwind
colors: {
  custom: {
    50: '#c1db7d',
    500: '#a2cb40',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb40;
$custom-light: #c1db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb40",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 77.698,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78641,
    "c": 0.16921,
    "h": 124.5
  },
  "luminance": 0.50763
}

Semantic roles & 50–950 ramp

primary
#A2CB40
secondary
#49357B
accent
#47E075
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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