#A2CB52#A2CB52

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

Color values

HEX#A2CB52
RGBrgb(162, 203, 82)
HSLhsl(80, 54%, 56%)
HSVhsv(80, 60%, 80%)
CMYKcmyk(20.2%, 0%, 59.6%, 20.4%)
CIE-LABlab(76.68, -31.86, 54.62)
CIE-LCHlch(76.68, 63.23, 120.25°)
OKLaboklab(78.8% -0.0905 0.1265)
OKLCHoklch(78.8% 0.156 125.6)
XYZxyz(37.7793, 51.0020, 15.8350)
Luminance0.5100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB52 #7B52CB
analogous
#CBB852 #A2CB52 #65CB52
triadic
#A2CB52 #52A2CB #CB52A2
tetradic
#A2CB52 #52CBB8 #7B52CB #CB5265
square
#A2CB52 #52CBB8 #7B52CB #CB5265
split-complementary
#A2CB52 #5265CB #B852CB
monochromatic
#5F7D26 #83AC34 #A2CB52 #BBD981 #D5E7B0

Accessibility & contrast

On white

1.87
#A2CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2CB52#FFFFFF#000000##000000
##A2CB521.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2cb52;
/* rgb */ color: rgb(162, 203, 82);
/* oklch */ color: oklch(78.8% 0.156 125.6);
Tailwind
colors: {
  custom: {
    50: '#c0db87',
    500: '#a2cb52',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb52;
$custom-light: #c0db87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb52",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 80.331,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78804,
    "c": 0.1556,
    "h": 125.6
  },
  "luminance": 0.51002
}

Semantic roles & 50–950 ramp

primary
#A2CB52
secondary
#553C85
accent
#4BDD7C
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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