#A1BF31#A1BF31

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

Color values

HEX#A1BF31
RGBrgb(161, 191, 49)
HSLhsl(73, 59%, 47%)
HSVhsv(73, 74%, 75%)
CMYKcmyk(15.7%, 0%, 74.3%, 25.1%)
CIE-LABlab(72.93, -28.80, 63.65)
CIE-LCHlch(72.93, 69.86, 114.34°)
OKLaboklab(75.68% -0.085 0.1409)
OKLCHoklch(75.68% 0.165 121.1)
XYZxyz(33.8837, 45.0605, 9.8176)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BF31 #4F31BF
analogous
#BF9631 #A1BF31 #5ABF31
triadic
#A1BF31 #31A1BF #BF31A1
tetradic
#A1BF31 #31BF96 #4F31BF #BF315A
square
#A1BF31 #31BF96 #4F31BF #BF315A
split-complementary
#A1BF31 #315ABF #9631BF
monochromatic
#4F5E18 #788E25 #A1BF31 #BAD459 #CEE18A

Accessibility & contrast

On white

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

On black

10.01
#A1BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BF31
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BF31#FFFFFF#000000##000000
##A1BF311.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#AAB5A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a1bf31;
/* rgb */ color: rgb(161, 191, 49);
/* oklch */ color: oklch(75.7% 0.165 121.1);
Tailwind
colors: {
  custom: {
    50: '#c0d274',
    500: '#a1bf31',
    950: '#000000',
  },
}
SCSS
$custom: #a1bf31;
$custom-light: #c0d274;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bf31",
  "rgb": {
    "r": 161,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 72.676,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75683,
    "c": 0.16455,
    "h": 121.1
  },
  "luminance": 0.4506
}

Semantic roles & 50–950 ramp

primary
#A1BF31
secondary
#9181CB
accent
#45E267
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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