#A2B931#A2B931

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

Color values

HEX#A2B931
RGBrgb(162, 185, 49)
HSLhsl(70, 58%, 46%)
HSVhsv(70, 74%, 73%)
CMYKcmyk(12.4%, 0%, 73.5%, 27.5%)
CIE-LABlab(71.28, -25.50, 62.10)
CIE-LCHlch(71.28, 67.13, 112.32°)
OKLaboklab(74.37% -0.0759 0.1376)
OKLCHoklch(74.37% 0.157 118.9)
XYZxyz(32.8043, 42.6013, 9.3999)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B931 #4831B9
analogous
#B98C31 #A2B931 #5EB931
triadic
#A2B931 #31A2B9 #B931A2
tetradic
#A2B931 #31B98C #4831B9 #B9315E
square
#A2B931 #31B98C #4831B9 #B9315E
split-complementary
#A2B931 #315EB9 #8C31B9
monochromatic
#4D5817 #788924 #A2B931 #BDD255 #D0DF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B931#FFFFFF#000000##000000
##A2B9311.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)
#C5AE15
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#ACAF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2b931;
/* rgb */ color: rgb(162, 185, 49);
/* oklch */ color: oklch(74.4% 0.157 118.9);
Tailwind
colors: {
  custom: {
    50: '#c1ce73',
    500: '#a2b931',
    950: '#000000',
  },
}
SCSS
$custom: #a2b931;
$custom-light: #c1ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b931",
  "rgb": {
    "r": 162,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 70.147,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74373,
    "c": 0.15718,
    "h": 118.9
  },
  "luminance": 0.42601
}

Semantic roles & 50–950 ramp

primary
#A2B931
secondary
#8A7DC8
accent
#46E161
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B931

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

Preview Lab → · Contrast checker → · Palette generator →

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