#A6C837#A6C837

#A6C837 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.2% C 0.170 H 122.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#A6C837
RGBrgb(166, 200, 55)
HSLhsl(74, 57%, 50%)
HSVhsv(74, 73%, 78%)
CMYKcmyk(17%, 0%, 72.5%, 21.6%)
CIE-LABlab(75.88, -30.72, 64.56)
CIE-LCHlch(75.88, 71.49, 115.45°)
OKLaboklab(78.16% -0.09 0.1437)
OKLCHoklch(78.16% 0.17 122.1)
XYZxyz(37.0703, 49.6913, 11.2521)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C837 #5937C8
analogous
#C8A237 #A6C837 #5DC837
triadic
#A6C837 #37A6C8 #C837A6
tetradic
#A6C837 #37C8A2 #5937C8 #C8375D
square
#A6C837 #37C8A2 #5937C8 #C8375D
split-complementary
#A6C837 #375DC8 #A237C8
monochromatic
#56681D #7E982A #A6C837 #BBD567 #D1E297

Accessibility & contrast

On white

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

On black

10.94
#A6C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C837
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C837#FFFFFF#000000##000000
##A6C8371.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6c837;
/* rgb */ color: rgb(166, 200, 55);
/* oklch */ color: oklch(78.2% 0.170 122.1);
Tailwind
colors: {
  custom: {
    50: '#c4d878',
    500: '#a6c837',
    950: '#000000',
  },
}
SCSS
$custom: #a6c837;
$custom-light: #c4d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c837",
  "rgb": {
    "r": 166,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 74.069,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.78159,
    "c": 0.16955,
    "h": 122.1
  },
  "luminance": 0.49691
}

Semantic roles & 50–950 ramp

primary
#A6C837
secondary
#9C8DCE
accent
#48E06B
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C837

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

Preview Lab → · Contrast checker → · Palette generator →

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