#A2BC2F#A2BC2F

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

Color values

HEX#A2BC2F
RGBrgb(162, 188, 47)
HSLhsl(71, 60%, 46%)
HSVhsv(71, 75%, 74%)
CMYKcmyk(13.8%, 0%, 75%, 26.3%)
CIE-LABlab(72.13, -27.05, 63.57)
CIE-LCHlch(72.13, 69.09, 113.05°)
OKLaboklab(75.05% -0.0804 0.1404)
OKLCHoklch(75.05% 0.162 119.8)
XYZxyz(33.3973, 43.8532, 9.3939)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC2F #492FBC
analogous
#BC8F2F #A2BC2F #5BBC2F
triadic
#A2BC2F #2FA2BC #BC2FA2
tetradic
#A2BC2F #2FBC8F #492FBC #BC2F5B
square
#A2BC2F #2FBC8F #492FBC #BC2F5B
split-complementary
#A2BC2F #2F5BBC #8F2FBC
monochromatic
#4E5A17 #788B23 #A2BC2F #BDD454 #D0E085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BC2F#FFFFFF#000000##000000
##A2BC2F1.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)
#C8B10E
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#ACB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc2f;
/* rgb */ color: rgb(162, 188, 47);
/* oklch */ color: oklch(75.1% 0.162 119.8);
Tailwind
colors: {
  custom: {
    50: '#c1d072',
    500: '#a2bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc2f;
$custom-light: #c1d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc2f",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 71.064,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75051,
    "c": 0.16178,
    "h": 119.8
  },
  "luminance": 0.43853
}

Semantic roles & 50–950 ramp

primary
#A2BC2F
secondary
#8B7DCA
accent
#45E362
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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