#A6C335#A6C335

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

Color values

HEX#A6C335
RGBrgb(166, 195, 53)
HSLhsl(72, 57%, 49%)
HSVhsv(72, 73%, 76%)
CMYKcmyk(14.9%, 0%, 72.8%, 23.5%)
CIE-LABlab(74.44, -28.46, 63.86)
CIE-LCHlch(74.44, 69.91, 114.02°)
OKLaboklab(77% -0.084 0.1419)
OKLCHoklch(77% 0.165 120.6)
XYZxyz(35.8842, 47.3943, 10.6251)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C335 #5235C3
analogous
#C39935 #A6C335 #5FC335
triadic
#A6C335 #35A6C3 #C335A6
tetradic
#A6C335 #35C399 #5235C3 #C3355F
square
#A6C335 #35C399 #5235C3 #C3355F
split-complementary
#A6C335 #355FC3 #9935C3
monochromatic
#54631B #7D9328 #A6C335 #BDD461 #D1E191

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C335#FFFFFF#000000##000000
##A6C3351.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)
#CFB719
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#AFB9A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c335;
/* rgb */ color: rgb(166, 195, 53);
/* oklch */ color: oklch(77.0% 0.165 120.6);
Tailwind
colors: {
  custom: {
    50: '#c4d576',
    500: '#a6c335',
    950: '#000000',
  },
}
SCSS
$custom: #a6c335;
$custom-light: #c4d576;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c335",
  "rgb": {
    "r": 166,
    "g": 195,
    "b": 53
  },
  "hsl": {
    "h": 72.254,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76995,
    "c": 0.16487,
    "h": 120.6
  },
  "luminance": 0.47394
}

Semantic roles & 50–950 ramp

primary
#A6C335
secondary
#9688CC
accent
#47E167
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C335

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

Preview Lab → · Contrast checker → · Palette generator →

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