#A2CB51#A2CB51

#A2CB51 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.8% C 0.156 H 125.5°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#A2CB51
RGBrgb(162, 203, 81)
HSLhsl(80, 54%, 56%)
HSVhsv(80, 60%, 80%)
CMYKcmyk(20.2%, 0%, 60.1%, 20.4%)
CIE-LABlab(76.67, -31.94, 55.04)
CIE-LCHlch(76.67, 63.64, 120.12°)
OKLaboklab(78.79% -0.0909 0.1273)
OKLCHoklch(78.79% 0.156 125.5)
XYZxyz(37.7415, 50.9869, 15.6361)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB51 #7A51CB
analogous
#CBB751 #A2CB51 #65CB51
triadic
#A2CB51 #51A2CB #CB51A2
tetradic
#A2CB51 #51CBB7 #7A51CB #CB5165
square
#A2CB51 #51CBB7 #7A51CB #CB5165
split-complementary
#A2CB51 #5165CB #B751CB
monochromatic
#5F7C25 #83AC33 #A2CB51 #BBD980 #D4E7AF

Accessibility & contrast

On white

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

On black

11.20
#A2CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CB51
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CB51#FFFFFF#000000##000000
##A2CB511.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF43
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#A8C2B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a2cb51;
/* rgb */ color: rgb(162, 203, 81);
/* oklch */ color: oklch(78.8% 0.156 125.5);
Tailwind
colors: {
  custom: {
    50: '#c0db86',
    500: '#a2cb51',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb51;
$custom-light: #c0db86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb51",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 80.164,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78794,
    "c": 0.15642,
    "h": 125.5
  },
  "luminance": 0.50987
}

Semantic roles & 50–950 ramp

primary
#A2CB51
secondary
#543C84
accent
#4ADD7C
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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