#A6C162#A6C162

#A6C162 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 77.0% C 0.126 H 122.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#A6C162
RGBrgb(166, 193, 98)
HSLhsl(77, 43%, 57%)
HSVhsv(77, 49%, 76%)
CMYKcmyk(14%, 0%, 49.2%, 24.3%)
CIE-LABlab(74.27, -24.02, 44.47)
CIE-LCHlch(74.27, 50.54, 118.37°)
OKLaboklab(76.99% -0.0675 0.1061)
OKLCHoklch(76.99% 0.126 122.5)
XYZxyz(37.0006, 47.1287, 18.7004)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C162 #7D62C1
analogous
#C1AD62 #A6C162 #76C162
triadic
#A6C162 #62A6C1 #C162A6
tetradic
#A6C162 #62C1AD #7D62C1 #C16276
square
#A6C162 #62C1AD #7D62C1 #C16276
split-complementary
#A6C162 #6276C1 #AD62C1
monochromatic
#647930 #88A541 #A6C162 #BFD28E #D8E4BA

Accessibility & contrast

On white

2.01
#A6C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#A6C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C162
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C162#FFFFFF#000000##000000
##A6C1621.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB75A
Deuteranopia (green-blind)
#C7B767
Tritanopia (blue-blind)
#ADB9AB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c162;
/* rgb */ color: rgb(166, 193, 98);
/* oklch */ color: oklch(77.0% 0.126 122.5);
Tailwind
colors: {
  custom: {
    50: '#c2d391',
    500: '#a6c162',
    950: '#000000',
  },
}
SCSS
$custom: #a6c162;
$custom-light: #c2d391;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c162",
  "rgb": {
    "r": 166,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 77.053,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.12569,
    "h": 122.5
  },
  "luminance": 0.47129
}

Semantic roles & 50–950 ramp

primary
#A6C162
secondary
#B7ACD3
accent
#55D379
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #A6C162

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

Preview Lab → · Contrast checker → · Palette generator →

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