#A2BA4E#A2BA4E

#A2BA4E is a light, vivid yellow-green. Relative luminance 0.433; OKLCH L 74.9% C 0.137 H 120.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#A2BA4E
RGBrgb(162, 186, 78)
HSLhsl(73, 44%, 52%)
HSVhsv(73, 58%, 73%)
CMYKcmyk(12.9%, 0%, 58.1%, 27.1%)
CIE-LABlab(71.79, -24.05, 50.92)
CIE-LCHlch(71.79, 56.32, 115.28°)
OKLaboklab(74.85% -0.0692 0.1182)
OKLCHoklch(74.85% 0.137 120.3)
XYZxyz(33.8347, 43.3493, 13.7911)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA4E #664EBA
analogous
#BA9C4E #A2BA4E #6CBA4E
triadic
#A2BA4E #4EA2BA #BA4EA2
tetradic
#A2BA4E #4EBA9C #664EBA #BA4E6C
square
#A2BA4E #4EBA9C #664EBA #BA4E6C
split-complementary
#A2BA4E #4E6CBA #9C4EBA
monochromatic
#586628 #7E9239 #A2BA4E #B9CB7A #D0DCA6

Accessibility & contrast

On white

2.17
#A2BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#A2BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA4E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA4E#FFFFFF#000000##000000
##A2BA4E1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B042
Deuteranopia (green-blind)
#C2B055
Tritanopia (blue-blind)
#AAB1A3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2ba4e;
/* rgb */ color: rgb(162, 186, 78);
/* oklch */ color: oklch(74.9% 0.137 120.3);
Tailwind
colors: {
  custom: {
    50: '#c0ce83',
    500: '#a2ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba4e;
$custom-light: #c0ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba4e",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 73.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74853,
    "c": 0.13696,
    "h": 120.3
  },
  "luminance": 0.43349
}

Semantic roles & 50–950 ramp

primary
#A2BA4E
secondary
#A59ACA
accent
#54D470
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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