#A2BF30#A2BF30

#A2BF30 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.8% C 0.165 H 120.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#A2BF30
RGBrgb(162, 191, 48)
HSLhsl(72, 60%, 47%)
HSVhsv(72, 75%, 75%)
CMYKcmyk(15.2%, 0%, 74.9%, 25.1%)
CIE-LABlab(72.99, -28.44, 64.06)
CIE-LCHlch(72.99, 70.09, 113.94°)
OKLaboklab(75.75% -0.0841 0.1416)
OKLCHoklch(75.75% 0.165 120.7)
XYZxyz(34.0652, 45.1565, 9.7172)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF30 #4D30BF
analogous
#BF9530 #A2BF30 #5ABF30
triadic
#A2BF30 #30A2BF #BF30A2
tetradic
#A2BF30 #30BF95 #4D30BF #BF305A
square
#A2BF30 #30BF95 #4D30BF #BF305A
split-complementary
#A2BF30 #305ABF #9530BF
monochromatic
#4F5D17 #798E24 #A2BF30 #BBD557 #CFE188

Accessibility & contrast

On white

2.09
#A2BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#A2BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF30
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF30#FFFFFF#000000##000000
##A2BF301.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40F
Deuteranopia (green-blind)
#C8B33D
Tritanopia (blue-blind)
#ABB5A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a2bf30;
/* rgb */ color: rgb(162, 191, 48);
/* oklch */ color: oklch(75.8% 0.165 120.7);
Tailwind
colors: {
  custom: {
    50: '#c1d273',
    500: '#a2bf30',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf30;
$custom-light: #c1d273;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf30",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 72.168,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7575,
    "c": 0.16469,
    "h": 120.7
  },
  "luminance": 0.45156
}

Semantic roles & 50–950 ramp

primary
#A2BF30
secondary
#8F80CB
accent
#45E365
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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