#A1BF52#A1BF52

#A1BF52 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 76.0% C 0.140 H 122.7°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#A1BF52
RGBrgb(161, 191, 82)
HSLhsl(77, 46%, 54%)
HSVhsv(77, 57%, 75%)
CMYKcmyk(15.7%, 0%, 57.1%, 25.1%)
CIE-LABlab(73.19, -26.55, 50.67)
CIE-LCHlch(73.19, 57.20, 117.65°)
OKLaboklab(75.97% -0.0757 0.1181)
OKLCHoklch(75.97% 0.14 122.7)
XYZxyz(34.8520, 45.4478, 14.9172)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BF52 #7052BF
analogous
#BFA652 #A1BF52 #6ABF52
triadic
#A1BF52 #52A1BF #BF52A1
tetradic
#A1BF52 #52BFA6 #7052BF #BF526A
square
#A1BF52 #52BFA6 #7052BF #BF526A
split-complementary
#A1BF52 #526ABF #A652BF
monochromatic
#5B6E29 #809B39 #A1BF52 #B9D07F #D2E0AB

Accessibility & contrast

On white

2.08
#A1BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#A1BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BF52
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BF52#FFFFFF#000000##000000
##A1BF521.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#C5B459
Tritanopia (blue-blind)
#A8B6A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a1bf52;
/* rgb */ color: rgb(161, 191, 82);
/* oklch */ color: oklch(76.0% 0.140 122.7);
Tailwind
colors: {
  custom: {
    50: '#bfd286',
    500: '#a1bf52',
    950: '#000000',
  },
}
SCSS
$custom: #a1bf52;
$custom-light: #bfd286;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bf52",
  "rgb": {
    "r": 161,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 76.514,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7597,
    "c": 0.14028,
    "h": 122.7
  },
  "luminance": 0.45448
}

Semantic roles & 50–950 ramp

primary
#A1BF52
secondary
#AC9FCE
accent
#52D676
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12140B
muted
#81827C

Preview Lab

Preview with #A1BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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