#A1BA27#A1BA27

#A1BA27 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.5% C 0.164 H 119.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#A1BA27
RGBrgb(161, 186, 39)
HSLhsl(70, 65%, 44%)
HSVhsv(70, 79%, 73%)
CMYKcmyk(13.4%, 0%, 79%, 27.1%)
CIE-LABlab(71.45, -26.85, 65.40)
CIE-LCHlch(71.45, 70.69, 112.32°)
OKLaboklab(74.47% -0.0804 0.1429)
OKLCHoklch(74.47% 0.164 119.4)
XYZxyz(32.6238, 42.8416, 8.4697)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA27 #4027BA
analogous
#BA8A27 #A1BA27 #58BA27
triadic
#A1BA27 #27A1BA #BA27A1
tetradic
#A1BA27 #27BA8A #4027BA #BA2758
square
#A1BA27 #27BA8A #4027BA #BA2758
split-complementary
#A1BA27 #2758BA #8A27BA
monochromatic
#495512 #75871C #A1BA27 #BFD846 #D1E379

Accessibility & contrast

On white

2.19
#A1BA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A1BA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BA27
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BA27#FFFFFF#000000##000000
##A1BA271.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4AF36
Tritanopia (blue-blind)
#ABB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba27;
/* rgb */ color: rgb(161, 186, 39);
/* oklch */ color: oklch(74.5% 0.164 119.4);
Tailwind
colors: {
  custom: {
    50: '#c1ce6f',
    500: '#a1ba27',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba27;
$custom-light: #c1ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba27",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 70.204,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.16399,
    "h": 119.4
  },
  "luminance": 0.42841
}

Semantic roles & 50–950 ramp

primary
#A1BA27
secondary
#8172CB
accent
#40E85C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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