#A2B837#A2B837

#A2B837 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.2% C 0.152 H 118.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#A2B837
RGBrgb(162, 184, 55)
HSLhsl(70, 54%, 47%)
HSVhsv(70, 70%, 72%)
CMYKcmyk(12%, 0%, 70.1%, 27.8%)
CIE-LABlab(71.03, -24.69, 59.70)
CIE-LCHlch(71.03, 64.60, 112.47°)
OKLaboklab(74.19% -0.0732 0.1336)
OKLCHoklch(74.19% 0.152 118.7)
XYZxyz(32.7310, 42.2384, 10.0422)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B837 #4D37B8
analogous
#B88E37 #A2B837 #61B837
triadic
#A2B837 #37A2B8 #B837A2
tetradic
#A2B837 #37B88E #4D37B8 #B83761
square
#A2B837 #37B88E #4D37B8 #B83761
split-complementary
#A2B837 #3761B8 #8E37B8
monochromatic
#4F5A1B #798929 #A2B837 #BBCF5D #CFDD8D

Accessibility & contrast

On white

2.22
#A2B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#A2B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B837
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B837#FFFFFF#000000##000000
##A2B8371.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE22
Deuteranopia (green-blind)
#C2AE41
Tritanopia (blue-blind)
#ACAE9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b837;
/* rgb */ color: rgb(162, 184, 55);
/* oklch */ color: oklch(74.2% 0.152 118.7);
Tailwind
colors: {
  custom: {
    50: '#c1cd76',
    500: '#a2b837',
    950: '#000000',
  },
}
SCSS
$custom: #a2b837;
$custom-light: #c1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b837",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 70.233,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74185,
    "c": 0.15228,
    "h": 118.7
  },
  "luminance": 0.42238
}

Semantic roles & 50–950 ramp

primary
#A2B837
secondary
#8F84C7
accent
#4ADD64
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B837

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

Preview Lab → · Contrast checker → · Palette generator →

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