#A2BC31#A2BC31

#A2BC31 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 75.1% C 0.161 H 119.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A2BC31
RGBrgb(162, 188, 49)
HSLhsl(71, 59%, 46%)
HSVhsv(71, 74%, 74%)
CMYKcmyk(13.8%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.14, -26.95, 62.92)
CIE-LCHlch(72.14, 68.45, 113.19°)
OKLaboklab(75.06% -0.0799 0.1394)
OKLCHoklch(75.06% 0.161 119.8)
XYZxyz(33.4385, 43.8697, 9.6113)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC31 #4B31BC
analogous
#BC9131 #A2BC31 #5DBC31
triadic
#A2BC31 #31A2BC #BC31A2
tetradic
#A2BC31 #31BC91 #4B31BC #BC315D
square
#A2BC31 #31BC91 #4B31BC #BC315D
split-complementary
#A2BC31 #315DBC #9131BC
monochromatic
#4E5B18 #788B24 #A2BC31 #BCD357 #CFE088

Accessibility & contrast

On white

2.15
#A2BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A2BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC31
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC31#FFFFFF#000000##000000
##A2BC311.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B113
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#ABB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc31;
/* rgb */ color: rgb(162, 188, 49);
/* oklch */ color: oklch(75.1% 0.161 119.8);
Tailwind
colors: {
  custom: {
    50: '#c1d073',
    500: '#a2bc31',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc31;
$custom-light: #c1d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc31",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 71.223,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75064,
    "c": 0.16065,
    "h": 119.8
  },
  "luminance": 0.4387
}

Semantic roles & 50–950 ramp

primary
#A2BC31
secondary
#8D7FCA
accent
#46E263
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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