#A3C21F#A3C21F

#A3C21F is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.4% C 0.175 H 120.8°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#A3C21F
RGBrgb(163, 194, 31)
HSLhsl(71, 72%, 44%)
HSVhsv(71, 84%, 76%)
CMYKcmyk(16%, 0%, 84%, 23.9%)
CIE-LABlab(73.85, -30.12, 69.64)
CIE-LCHlch(73.85, 75.87, 113.39°)
OKLaboklab(76.43% -0.09 0.1506)
OKLCHoklch(76.43% 0.175 120.8)
XYZxyz(34.6441, 46.4691, 8.4404)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3C21F #3E1FC2
analogous
#C2901F #A3C21F #52C21F
triadic
#A3C21F #1FA3C2 #C21FA3
tetradic
#A3C21F #1FC290 #3E1FC2 #C21F52
square
#A3C21F #1FC290 #3E1FC2 #C21F52
split-complementary
#A3C21F #1F52C2 #901FC2
monochromatic
#4A580E #778D17 #A3C21F #C1E03E #D2E973

Accessibility & contrast

On white

2.04
#A3C21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#A3C21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3C21F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3C21F#FFFFFF#000000##000000
##A3C21F1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#ADB7A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a3c21f;
/* rgb */ color: rgb(163, 194, 31);
/* oklch */ color: oklch(76.4% 0.175 120.8);
Tailwind
colors: {
  custom: {
    50: '#c2d46d',
    500: '#a3c21f',
    950: '#000000',
  },
}
SCSS
$custom: #a3c21f;
$custom-light: #c2d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a3c21f",
  "rgb": {
    "r": 163,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 71.411,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76433,
    "c": 0.17544,
    "h": 120.8
  },
  "luminance": 0.46469
}

Semantic roles & 50–950 ramp

primary
#A3C21F
secondary
#806DCF
accent
#39EF5B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A3C21F

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

Preview Lab → · Contrast checker → · Palette generator →

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