#A1B151#A1B151

#A1B151 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.8% C 0.123 H 117.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A1B151
RGBrgb(161, 177, 81)
HSLhsl(70, 38%, 51%)
HSVhsv(70, 54%, 69%)
CMYKcmyk(9%, 0%, 54.2%, 30.6%)
CIE-LABlab(69.19, -19.73, 46.55)
CIE-LCHlch(69.19, 50.56, 112.97°)
OKLaboklab(72.76% -0.0567 0.1092)
OKLCHoklch(72.76% 0.123 117.4)
XYZxyz(31.9057, 39.6157, 13.7488)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B151 #6151B1
analogous
#B19151 #A1B151 #71B151
triadic
#A1B151 #51A1B1 #B151A1
tetradic
#A1B151 #51B191 #6151B1 #B15171
square
#A1B151 #51B191 #6151B1 #B15171
split-complementary
#A1B151 #5171B1 #9151B1
monochromatic
#555E2A #7B883D #A1B151 #B8C47B #CFD7A6

Accessibility & contrast

On white

2.35
#A1B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A1B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B151
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B151#FFFFFF#000000##000000
##A1B1511.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA948
Deuteranopia (green-blind)
#BAAA57
Tritanopia (blue-blind)
#A9A89C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b151;
/* rgb */ color: rgb(161, 177, 81);
/* oklch */ color: oklch(72.8% 0.123 117.4);
Tailwind
colors: {
  custom: {
    50: '#bfc885',
    500: '#a1b151',
    950: '#000000',
  },
}
SCSS
$custom: #a1b151;
$custom-light: #bfc885;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b151",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 70,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72761,
    "c": 0.12298,
    "h": 117.4
  },
  "luminance": 0.39615
}

Semantic roles & 50–950 ramp

primary
#A1B151
secondary
#A19AC4
accent
#5ACE6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A1B151

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

Preview Lab → · Contrast checker → · Palette generator →

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