#A1BC38#A1BC38

#A1BC38 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.0% C 0.157 H 120.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A1BC38
RGBrgb(161, 188, 56)
HSLhsl(72, 54%, 48%)
HSVhsv(72, 70%, 74%)
CMYKcmyk(14.4%, 0%, 70.2%, 26.3%)
CIE-LABlab(72.11, -26.98, 60.38)
CIE-LCHlch(72.11, 66.13, 114.08°)
OKLaboklab(75.04% -0.0794 0.1352)
OKLCHoklch(75.04% 0.157 120.4)
XYZxyz(33.3955, 43.8291, 10.4412)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC38 #5338BC
analogous
#BC9538 #A1BC38 #5FBC38
triadic
#A1BC38 #38A1BC #BC38A1
tetradic
#A1BC38 #38BC95 #5338BC #BC385F
square
#A1BC38 #38BC95 #5338BC #BC385F
split-complementary
#A1BC38 #385FBC #9538BC
monochromatic
#505E1C #798D2A #A1BC38 #B9D061 #CEDE90

Accessibility & contrast

On white

2.15
#A1BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A1BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BC38
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BC38#FFFFFF#000000##000000
##A1BC381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B122
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#AAB2A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc38;
/* rgb */ color: rgb(161, 188, 56);
/* oklch */ color: oklch(75.0% 0.157 120.4);
Tailwind
colors: {
  custom: {
    50: '#c0d077',
    500: '#a1bc38',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc38;
$custom-light: #c0d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc38",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 72.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75038,
    "c": 0.15675,
    "h": 120.4
  },
  "luminance": 0.43829
}

Semantic roles & 50–950 ramp

primary
#A1BC38
secondary
#9487C9
accent
#4ADD68
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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