#A6C831#A6C831

#A6C831 is a light, vivid yellow-green. Relative luminance 0.496; OKLCH L 78.1% C 0.173 H 121.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#A6C831
RGBrgb(166, 200, 49)
HSLhsl(74, 61%, 49%)
HSVhsv(74, 76%, 78%)
CMYKcmyk(17%, 0%, 75.5%, 21.6%)
CIE-LABlab(75.85, -31.02, 66.52)
CIE-LCHlch(75.85, 73.40, 115.00°)
OKLaboklab(78.12% -0.0913 0.1468)
OKLCHoklch(78.12% 0.173 121.9)
XYZxyz(36.9351, 49.6372, 10.5403)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C831 #5331C8
analogous
#C89F31 #A6C831 #5BC831
triadic
#A6C831 #31A6C8 #C831A6
tetradic
#A6C831 #31C89F #5331C8 #C8315B
square
#A6C831 #31C89F #5331C8 #C8315B
split-complementary
#A6C831 #315BC8 #9F31C8
monochromatic
#546619 #7D9725 #A6C831 #BCD85F #D1E490

Accessibility & contrast

On white

1.92
#A6C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#A6C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C831
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C831#FFFFFF#000000##000000
##A6C8311.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0A
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#AFBEAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a6c831;
/* rgb */ color: rgb(166, 200, 49);
/* oklch */ color: oklch(78.1% 0.173 121.9);
Tailwind
colors: {
  custom: {
    50: '#c4d875',
    500: '#a6c831',
    950: '#000000',
  },
}
SCSS
$custom: #a6c831;
$custom-light: #c4d875;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c831",
  "rgb": {
    "r": 166,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 73.51,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78121,
    "c": 0.17293,
    "h": 121.9
  },
  "luminance": 0.49637
}

Semantic roles & 50–950 ramp

primary
#A6C831
secondary
#9786CE
accent
#44E468
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C831

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

Preview Lab → · Contrast checker → · Palette generator →

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