#A1BA30#A1BA30

#A1BA30 is a light, vivid yellow-green. Relative luminance 0.429; OKLCH L 74.5% C 0.159 H 119.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#A1BA30
RGBrgb(161, 186, 48)
HSLhsl(71, 59%, 46%)
HSVhsv(71, 74%, 73%)
CMYKcmyk(13.4%, 0%, 74.2%, 27.1%)
CIE-LABlab(71.49, -26.45, 62.61)
CIE-LCHlch(71.49, 67.97, 112.90°)
OKLaboklab(74.52% -0.0786 0.1386)
OKLCHoklch(74.52% 0.159 119.6)
XYZxyz(32.7910, 42.9085, 9.3504)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA30 #4930BA
analogous
#BA8E30 #A1BA30 #5CBA30
triadic
#A1BA30 #30A1BA #BA30A1
tetradic
#A1BA30 #30BA8E #4930BA #BA305C
square
#A1BA30 #30BA8E #4930BA #BA305C
split-complementary
#A1BA30 #305CBA #8E30BA
monochromatic
#4D5917 #778923 #A1BA30 #BCD354 #CFDF85

Accessibility & contrast

On white

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

On black

9.58
#A1BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BA30
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BA30#FFFFFF#000000##000000
##A1BA301.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF12
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#AAB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1ba30;
/* rgb */ color: rgb(161, 186, 48);
/* oklch */ color: oklch(74.5% 0.159 119.6);
Tailwind
colors: {
  custom: {
    50: '#c0ce73',
    500: '#a1ba30',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba30;
$custom-light: #c0ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba30",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 70.87,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74522,
    "c": 0.1593,
    "h": 119.6
  },
  "luminance": 0.42908
}

Semantic roles & 50–950 ramp

primary
#A1BA30
secondary
#8B7DC9
accent
#46E262
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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