#A2CB4F#A2CB4F

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

Color values

HEX#A2CB4F
RGBrgb(162, 203, 79)
HSLhsl(80, 54%, 55%)
HSVhsv(80, 61%, 80%)
CMYKcmyk(20.2%, 0%, 61.1%, 20.4%)
CIE-LABlab(76.65, -32.10, 55.89)
CIE-LCHlch(76.65, 64.45, 119.87°)
OKLaboklab(78.77% -0.0915 0.1289)
OKLCHoklch(78.77% 0.158 125.4)
XYZxyz(37.6676, 50.9574, 15.2469)
Luminance0.5096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB4F #784FCB
analogous
#CBB64F #A2CB4F #64CB4F
triadic
#A2CB4F #4FA2CB #CB4FA2
tetradic
#A2CB4F #4FCBB6 #784FCB #CB4F64
square
#A2CB4F #4FCBB6 #784FCB #CB4F64
split-complementary
#A2CB4F #4F64CB #B64FCB
monochromatic
#5E7B24 #83AA32 #A2CB4F #BBD97E #D4E7AD

Accessibility & contrast

On white

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

On black

11.19
#A2CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CB4F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CB4F#FFFFFF#000000##000000
##A2CB4F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2cb4f;
/* rgb */ color: rgb(162, 203, 79);
/* oklch */ color: oklch(78.8% 0.158 125.4);
Tailwind
colors: {
  custom: {
    50: '#c0db85',
    500: '#a2cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb4f;
$custom-light: #c0db85;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb4f",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 79.839,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78774,
    "c": 0.15806,
    "h": 125.4
  },
  "luminance": 0.50958
}

Semantic roles & 50–950 ramp

primary
#A2CB4F
secondary
#533B83
accent
#4ADE7B
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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