#A1B940#A1B940

#A1B940 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 74.4% C 0.148 H 119.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#A1B940
RGBrgb(161, 185, 64)
HSLhsl(72, 49%, 49%)
HSVhsv(72, 65%, 73%)
CMYKcmyk(13%, 0%, 65.4%, 27.5%)
CIE-LABlab(71.31, -25.03, 56.43)
CIE-LCHlch(71.31, 61.73, 113.92°)
OKLaboklab(74.41% -0.0732 0.1281)
OKLCHoklch(74.41% 0.148 119.7)
XYZxyz(32.9728, 42.6453, 11.3438)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B940 #5840B9
analogous
#B99540 #A1B940 #65B940
triadic
#A1B940 #40A1B9 #B940A1
tetradic
#A1B940 #40B995 #5840B9 #B94065
square
#A1B940 #40B995 #5840B9 #B94065
split-complementary
#A1B940 #4065B9 #9540B9
monochromatic
#525E21 #798C30 #A1B940 #B8CC6B #CEDB98

Accessibility & contrast

On white

2.20
#A1B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#A1B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B940
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B940#FFFFFF#000000##000000
##A1B9401.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C2AF49
Tritanopia (blue-blind)
#AAAFA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a1b940;
/* rgb */ color: rgb(161, 185, 64);
/* oklch */ color: oklch(74.4% 0.148 119.7);
Tailwind
colors: {
  custom: {
    50: '#c0ce7b',
    500: '#a1b940',
    950: '#000000',
  },
}
SCSS
$custom: #a1b940;
$custom-light: #c0ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b940",
  "rgb": {
    "r": 161,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 71.901,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74411,
    "c": 0.14753,
    "h": 119.7
  },
  "luminance": 0.42645
}

Semantic roles & 50–950 ramp

primary
#A1B940
secondary
#998EC7
accent
#50D86B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A1B940

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

Preview Lab → · Contrast checker → · Palette generator →

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