#A6C336#A6C336

#A6C336 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 77.0% C 0.164 H 120.7°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#A6C336
RGBrgb(166, 195, 54)
HSLhsl(72, 57%, 49%)
HSVhsv(72, 72%, 76%)
CMYKcmyk(14.9%, 0%, 72.3%, 23.5%)
CIE-LABlab(74.45, -28.41, 63.51)
CIE-LCHlch(74.45, 69.58, 114.10°)
OKLaboklab(77% -0.0838 0.1413)
OKLCHoklch(77% 0.164 120.7)
XYZxyz(35.9075, 47.4036, 10.7475)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C336 #5336C3
analogous
#C39A36 #A6C336 #60C336
triadic
#A6C336 #36A6C3 #C336A6
tetradic
#A6C336 #36C39A #5336C3 #C33660
square
#A6C336 #36C39A #5336C3 #C33660
split-complementary
#A6C336 #3660C3 #9A36C3
monochromatic
#54631B #7D9329 #A6C336 #BCD463 #D1E192

Accessibility & contrast

On white

2.00
#A6C336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#A6C336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C336
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C336#FFFFFF#000000##000000
##A6C3361.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71B
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#AFB9A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c336;
/* rgb */ color: rgb(166, 195, 54);
/* oklch */ color: oklch(77.0% 0.164 120.7);
Tailwind
colors: {
  custom: {
    50: '#c4d577',
    500: '#a6c336',
    950: '#000000',
  },
}
SCSS
$custom: #a6c336;
$custom-light: #c4d577;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c336",
  "rgb": {
    "r": 166,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 72.34,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.16427,
    "h": 120.7
  },
  "luminance": 0.47404
}

Semantic roles & 50–950 ramp

primary
#A6C336
secondary
#9789CC
accent
#48E067
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C336

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

Preview Lab → · Contrast checker → · Palette generator →

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