#A6C631#A6C631

#A6C631 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.7% C 0.171 H 121.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#A6C631
RGBrgb(166, 198, 49)
HSLhsl(73, 60%, 48%)
HSVhsv(73, 75%, 78%)
CMYKcmyk(16.2%, 0%, 75.3%, 22.4%)
CIE-LABlab(75.27, -30.08, 65.99)
CIE-LCHlch(75.27, 72.52, 114.50°)
OKLaboklab(77.66% -0.0888 0.1457)
OKLCHoklch(77.66% 0.171 121.4)
XYZxyz(36.4750, 48.7169, 10.3869)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C631 #5131C6
analogous
#C69B31 #A6C631 #5BC631
triadic
#A6C631 #31A6C6 #C631A6
tetradic
#A6C631 #31C69B #5131C6 #C6315B
square
#A6C631 #31C69B #5131C6 #C6315B
split-complementary
#A6C631 #315BC6 #9B31C6
monochromatic
#546419 #7D9525 #A6C631 #BDD75D #D1E38E

Accessibility & contrast

On white

1.95
#A6C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#A6C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C631
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C631#FFFFFF#000000##000000
##A6C6311.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#AFBCAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a6c631;
/* rgb */ color: rgb(166, 198, 49);
/* oklch */ color: oklch(77.7% 0.171 121.4);
Tailwind
colors: {
  custom: {
    50: '#c4d775',
    500: '#a6c631',
    950: '#000000',
  },
}
SCSS
$custom: #a6c631;
$custom-light: #c4d775;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c631",
  "rgb": {
    "r": 166,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 72.886,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.17061,
    "h": 121.4
  },
  "luminance": 0.48717
}

Semantic roles & 50–950 ramp

primary
#A6C631
secondary
#9585CE
accent
#44E367
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C631

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

Preview Lab → · Contrast checker → · Palette generator →

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