#A2CB42#A2CB42

#A2CB42 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.7% C 0.168 H 124.6°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#A2CB42
RGBrgb(162, 203, 66)
HSLhsl(78, 57%, 53%)
HSVhsv(78, 67%, 80%)
CMYKcmyk(20.2%, 0%, 67.5%, 20.4%)
CIE-LABlab(76.55, -33.05, 61.10)
CIE-LCHlch(76.55, 69.47, 118.41°)
OKLaboklab(78.66% -0.0953 0.1382)
OKLCHoklch(78.66% 0.168 124.6)
XYZxyz(37.2399, 50.7862, 12.9940)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB42 #6B42CB
analogous
#CBAF42 #A2CB42 #5ECB42
triadic
#A2CB42 #42A2CB #CB42A2
tetradic
#A2CB42 #42CBAF #6B42CB #CB425E
square
#A2CB42 #42CBAF #6B42CB #CB425E
split-complementary
#A2CB42 #425ECB #AF42CB
monochromatic
#5A7320 #80A32D #A2CB42 #BAD872 #D1E5A2

Accessibility & contrast

On white

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

On black

11.16
#A2CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CB42
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CB42#FFFFFF#000000##000000
##A2CB421.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2cb42;
/* rgb */ color: rgb(162, 203, 66);
/* oklch */ color: oklch(78.7% 0.168 124.6);
Tailwind
colors: {
  custom: {
    50: '#c1db7e',
    500: '#a2cb42',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb42;
$custom-light: #c1db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb42",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 77.956,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78656,
    "c": 0.16785,
    "h": 124.6
  },
  "luminance": 0.50787
}

Semantic roles & 50–950 ramp

primary
#A2CB42
secondary
#4A357C
accent
#48E075
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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