#A2BF27#A2BF27

#A2BF27 is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.7% C 0.169 H 120.5°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#A2BF27
RGBrgb(162, 191, 39)
HSLhsl(71, 66%, 45%)
HSVhsv(71, 80%, 75%)
CMYKcmyk(15.2%, 0%, 79.6%, 25.1%)
CIE-LABlab(72.95, -28.83, 66.77)
CIE-LCHlch(72.95, 72.73, 113.35°)
OKLaboklab(75.7% -0.0859 0.1458)
OKLCHoklch(75.7% 0.169 120.5)
XYZxyz(33.8980, 45.0896, 8.8364)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF27 #4427BF
analogous
#BF9027 #A2BF27 #56BF27
triadic
#A2BF27 #27A2BF #BF27A2
tetradic
#A2BF27 #27BF90 #4427BF #BF2756
square
#A2BF27 #27BF90 #4427BF #BF2756
split-complementary
#A2BF27 #2756BF #9027BF
monochromatic
#4C5912 #778C1D #A2BF27 #BEDA49 #D0E47C

Accessibility & contrast

On white

2.10
#A2BF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#A2BF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF27
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF27#FFFFFF#000000##000000
##A2BF271.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#ACB5A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a2bf27;
/* rgb */ color: rgb(162, 191, 39);
/* oklch */ color: oklch(75.7% 0.169 120.5);
Tailwind
colors: {
  custom: {
    50: '#c1d26f',
    500: '#a2bf27',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf27;
$custom-light: #c1d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf27",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 39
  },
  "hsl": {
    "h": 71.447,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.757,
    "c": 0.16923,
    "h": 120.5
  },
  "luminance": 0.45089
}

Semantic roles & 50–950 ramp

primary
#A2BF27
secondary
#8675CC
accent
#3FE95F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A2BF27

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

Preview Lab → · Contrast checker → · Palette generator →

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