#A2CB45#A2CB45

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

Color values

HEX#A2CB45
RGBrgb(162, 203, 69)
HSLhsl(78, 56%, 53%)
HSVhsv(78, 66%, 80%)
CMYKcmyk(20.2%, 0%, 66%, 20.4%)
CIE-LABlab(76.57, -32.85, 59.95)
CIE-LCHlch(76.57, 68.36, 118.72°)
OKLaboklab(78.68% -0.0945 0.1362)
OKLCHoklch(78.68% 0.166 124.7)
XYZxyz(37.3306, 50.8226, 13.4721)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB45 #6E45CB
analogous
#CBB145 #A2CB45 #5FCB45
triadic
#A2CB45 #45A2CB #CB45A2
tetradic
#A2CB45 #45CBB1 #6E45CB #CB455F
square
#A2CB45 #45CBB1 #6E45CB #CB455F
split-complementary
#A2CB45 #455FCB #B145CB
monochromatic
#5B7521 #80A52E #A2CB45 #BAD875 #D2E6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2CB45#FFFFFF#000000##000000
##A2CB451.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)
#D6BE32
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#A9C1B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a2cb45;
/* rgb */ color: rgb(162, 203, 69);
/* oklch */ color: oklch(78.7% 0.166 124.7);
Tailwind
colors: {
  custom: {
    50: '#c1db7f',
    500: '#a2cb45',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb45;
$custom-light: #c1db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb45",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 78.358,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78681,
    "c": 0.16572,
    "h": 124.7
  },
  "luminance": 0.50823
}

Semantic roles & 50–950 ramp

primary
#A2CB45
secondary
#4C377E
accent
#48E077
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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