#A1BA38#A1BA38

#A1BA38 is a light, vivid yellow-green. Relative luminance 0.430; OKLCH L 74.6% C 0.154 H 119.8°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#A1BA38
RGBrgb(161, 186, 56)
HSLhsl(72, 54%, 47%)
HSVhsv(72, 70%, 73%)
CMYKcmyk(13.4%, 0%, 69.9%, 27.1%)
CIE-LABlab(71.54, -26.02, 59.81)
CIE-LCHlch(71.54, 65.22, 113.51°)
OKLaboklab(74.58% -0.0767 0.134)
OKLCHoklch(74.58% 0.154 119.8)
XYZxyz(32.9712, 42.9806, 10.2997)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BA38 #5138BA
analogous
#BA9238 #A1BA38 #60BA38
triadic
#A1BA38 #38A1BA #BA38A1
tetradic
#A1BA38 #38BA92 #5138BA #BA3860
square
#A1BA38 #38BA92 #5138BA #BA3860
split-complementary
#A1BA38 #3860BA #9238BA
monochromatic
#505C1C #788B2A #A1BA38 #BACF60 #CEDD8F

Accessibility & contrast

On white

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

On black

9.60
#A1BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BA38
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BA38#FFFFFF#000000##000000
##A1BA381.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1ba38;
/* rgb */ color: rgb(161, 186, 56);
/* oklch */ color: oklch(74.6% 0.154 119.8);
Tailwind
colors: {
  custom: {
    50: '#c0ce77',
    500: '#a1ba38',
    950: '#000000',
  },
}
SCSS
$custom: #a1ba38;
$custom-light: #c0ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ba38",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 71.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74577,
    "c": 0.15437,
    "h": 119.8
  },
  "luminance": 0.4298
}

Semantic roles & 50–950 ramp

primary
#A1BA38
secondary
#9386C8
accent
#4BDD67
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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