#A1C31D#A1C31D

#A1C31D is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.5% C 0.178 H 121.7°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#A1C31D
RGBrgb(161, 195, 29)
HSLhsl(72, 74%, 44%)
HSVhsv(72, 85%, 76%)
CMYKcmyk(17.4%, 0%, 85.1%, 23.5%)
CIE-LABlab(73.99, -31.46, 70.15)
CIE-LCHlch(73.99, 76.89, 114.16°)
OKLaboklab(76.51% -0.0936 0.1515)
OKLCHoklch(76.51% 0.178 121.7)
XYZxyz(34.4354, 46.6959, 8.3612)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C31D #3F1DC3
analogous
#C3921D #A1C31D #4EC31D
triadic
#A1C31D #1DA1C3 #C31DA1
tetradic
#A1C31D #1DC392 #3F1DC3 #C31D4E
square
#A1C31D #1DC392 #3F1DC3 #C31D4E
split-complementary
#A1C31D #1D4EC3 #921DC3
monochromatic
#49580D #758E15 #A1C31D #C0E23B #D1EA71

Accessibility & contrast

On white

2.03
#A1C31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#A1C31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C31D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C31D#FFFFFF#000000##000000
##A1C31D1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CBB631
Tritanopia (blue-blind)
#AAB8A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a1c31d;
/* rgb */ color: rgb(161, 195, 29);
/* oklch */ color: oklch(76.5% 0.178 121.7);
Tailwind
colors: {
  custom: {
    50: '#c1d56c',
    500: '#a1c31d',
    950: '#000000',
  },
}
SCSS
$custom: #a1c31d;
$custom-light: #c1d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c31d",
  "rgb": {
    "r": 161,
    "g": 195,
    "b": 29
  },
  "hsl": {
    "h": 72.289,
    "s": 74.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76514,
    "c": 0.17811,
    "h": 121.7
  },
  "luminance": 0.46696
}

Semantic roles & 50–950 ramp

primary
#A1C31D
secondary
#806CD0
accent
#37F15D
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A1C31D

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

Preview Lab → · Contrast checker → · Palette generator →

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