#A2B855#A2B855

#A2B855 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 74.5% C 0.128 H 120.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#A2B855
RGBrgb(162, 184, 85)
HSLhsl(73, 41%, 53%)
HSVhsv(73, 54%, 72%)
CMYKcmyk(12%, 0%, 53.8%, 27.8%)
CIE-LABlab(71.30, -22.45, 47.11)
CIE-LCHlch(71.30, 52.19, 115.48°)
OKLaboklab(74.48% -0.064 0.1108)
OKLCHoklch(74.48% 0.128 120)
XYZxyz(33.6808, 42.6184, 15.0444)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B855 #6B55B8
analogous
#B89C55 #A2B855 #71B855
triadic
#A2B855 #55A2B8 #B855A2
tetradic
#A2B855 #55B89C #6B55B8 #B85571
square
#A2B855 #55B89C #6B55B8 #B85571
split-complementary
#A2B855 #5571B8 #9C55B8
monochromatic
#5A672B #80933D #A2B855 #BACA80 #D1DCAB

Accessibility & contrast

On white

2.21
#A2B855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#A2B855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B855
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B855#FFFFFF#000000##000000
##A2B8551.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4B
Deuteranopia (green-blind)
#C0AF5B
Tritanopia (blue-blind)
#AAAFA2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2b855;
/* rgb */ color: rgb(162, 184, 85);
/* oklch */ color: oklch(74.5% 0.128 120.0);
Tailwind
colors: {
  custom: {
    50: '#bfcd88',
    500: '#a2b855',
    950: '#000000',
  },
}
SCSS
$custom: #a2b855;
$custom-light: #bfcd88;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b855",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 73.333,
    "s": 41.079,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74477,
    "c": 0.12791,
    "h": 120
  },
  "luminance": 0.42618
}

Semantic roles & 50–950 ramp

primary
#A2B855
secondary
#A89FCA
accent
#57D172
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B855

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

Preview Lab → · Contrast checker → · Palette generator →

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