#A2B834#A2B834

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

Color values

HEX#A2B834
RGBrgb(162, 184, 52)
HSLhsl(70, 56%, 46%)
HSVhsv(70, 72%, 72%)
CMYKcmyk(12%, 0%, 71.7%, 27.8%)
CIE-LABlab(71.02, -24.85, 60.78)
CIE-LCHlch(71.02, 65.67, 112.24°)
OKLaboklab(74.16% -0.0739 0.1354)
OKLCHoklch(74.16% 0.154 118.6)
XYZxyz(32.6613, 42.2106, 9.6750)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B834 #4A34B8
analogous
#B88C34 #A2B834 #60B834
triadic
#A2B834 #34A2B8 #B834A2
tetradic
#A2B834 #34B88C #4A34B8 #B83460
square
#A2B834 #34B88C #4A34B8 #B83460
split-complementary
#A2B834 #3460B8 #8C34B8
monochromatic
#4E5919 #788827 #A2B834 #BCD059 #CFDE89

Accessibility & contrast

On white

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

On black

9.44
#A2B834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B834
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B834#FFFFFF#000000##000000
##A2B8341.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1C
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b834;
/* rgb */ color: rgb(162, 184, 52);
/* oklch */ color: oklch(74.2% 0.154 118.6);
Tailwind
colors: {
  custom: {
    50: '#c1cd74',
    500: '#a2b834',
    950: '#000000',
  },
}
SCSS
$custom: #a2b834;
$custom-light: #c1cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b834",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 70,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74163,
    "c": 0.15421,
    "h": 118.6
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#A2B834
secondary
#8C80C8
accent
#49DF62
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B834

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

Preview Lab → · Contrast checker → · Palette generator →

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