#A2BA55#A2BA55

#A2BA55 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.9% C 0.131 H 120.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#A2BA55
RGBrgb(162, 186, 85)
HSLhsl(74, 42%, 53%)
HSVhsv(74, 54%, 73%)
CMYKcmyk(12.9%, 0%, 54.3%, 27.1%)
CIE-LABlab(71.86, -23.44, 47.77)
CIE-LCHlch(71.86, 53.21, 116.13°)
OKLaboklab(74.93% -0.0668 0.1122)
OKLCHoklch(74.93% 0.131 120.8)
XYZxyz(34.0992, 43.4551, 15.1838)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA55 #6D55BA
analogous
#BA9F55 #A2BA55 #70BA55
triadic
#A2BA55 #55A2BA #BA55A2
tetradic
#A2BA55 #55BA9F #6D55BA #BA5570
square
#A2BA55 #55BA9F #6D55BA #BA5570
split-complementary
#A2BA55 #5570BA #9F55BA
monochromatic
#5B6A2B #80953D #A2BA55 #BACC81 #D2DDAC

Accessibility & contrast

On white

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

On black

9.69
#A2BA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA55
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA55#FFFFFF#000000##000000
##A2BA551.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04B
Deuteranopia (green-blind)
#C1B05B
Tritanopia (blue-blind)
#AAB1A4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2ba55;
/* rgb */ color: rgb(162, 186, 85);
/* oklch */ color: oklch(74.9% 0.131 120.8);
Tailwind
colors: {
  custom: {
    50: '#bfce88',
    500: '#a2ba55',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba55;
$custom-light: #bfce88;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba55",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 74.257,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74933,
    "c": 0.13055,
    "h": 120.8
  },
  "luminance": 0.43455
}

Semantic roles & 50–950 ramp

primary
#A2BA55
secondary
#AAA0CB
accent
#56D273
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #A2BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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