#A1BF38#A1BF38

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

Color values

HEX#A1BF38
RGBrgb(161, 191, 56)
HSLhsl(73, 55%, 48%)
HSVhsv(73, 71%, 75%)
CMYKcmyk(15.7%, 0%, 70.7%, 25.1%)
CIE-LABlab(72.97, -28.42, 61.23)
CIE-LCHlch(72.97, 67.51, 114.90°)
OKLaboklab(75.73% -0.0833 0.137)
OKLCHoklch(75.73% 0.16 121.3)
XYZxyz(34.0431, 45.1242, 10.6570)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BF38 #5638BF
analogous
#BF9938 #A1BF38 #5DBF38
triadic
#A1BF38 #38A1BF #BF38A1
tetradic
#A1BF38 #38BF99 #5638BF #BF385D
square
#A1BF38 #38BF99 #5638BF #BF385D
split-complementary
#A1BF38 #385DBF #9938BF
monochromatic
#51601C #79902A #A1BF38 #B9D163 #CEDF92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BF38#FFFFFF#000000##000000
##A1BF381.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#AAB5A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a1bf38;
/* rgb */ color: rgb(161, 191, 56);
/* oklch */ color: oklch(75.7% 0.160 121.3);
Tailwind
colors: {
  custom: {
    50: '#c0d277',
    500: '#a1bf38',
    950: '#000000',
  },
}
SCSS
$custom: #a1bf38;
$custom-light: #c0d277;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bf38",
  "rgb": {
    "r": 161,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 73.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75731,
    "c": 0.16033,
    "h": 121.3
  },
  "luminance": 0.45124
}

Semantic roles & 50–950 ramp

primary
#A1BF38
secondary
#9789CA
accent
#4ADE6B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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