#A6C151#A6C151

#A6C151 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.8% C 0.142 H 121.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#A6C151
RGBrgb(166, 193, 81)
HSLhsl(74, 47%, 54%)
HSVhsv(74, 58%, 76%)
CMYKcmyk(14%, 0%, 58%, 24.3%)
CIE-LABlab(74.09, -25.61, 52.23)
CIE-LCHlch(74.09, 58.17, 116.12°)
OKLaboklab(76.78% -0.0735 0.1213)
OKLCHoklch(76.78% 0.142 121.2)
XYZxyz(36.2814, 46.8410, 14.9128)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C151 #6C51C1
analogous
#C1A451 #A6C151 #6EC151
triadic
#A6C151 #51A6C1 #C151A6
tetradic
#A6C151 #51C1A4 #6C51C1 #C1516E
square
#A6C151 #51C1A4 #6C51C1 #C1516E
split-complementary
#A6C151 #516EC1 #A451C1
monochromatic
#5E7028 #859D38 #A6C151 #BDD17E #D4E1AB

Accessibility & contrast

On white

2.03
#A6C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#A6C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C151
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C151#FFFFFF#000000##000000
##A6C1511.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#AEB8A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c151;
/* rgb */ color: rgb(166, 193, 81);
/* oklch */ color: oklch(76.8% 0.142 121.2);
Tailwind
colors: {
  custom: {
    50: '#c3d386',
    500: '#a6c151',
    950: '#000000',
  },
}
SCSS
$custom: #a6c151;
$custom-light: #c3d386;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c151",
  "rgb": {
    "r": 166,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 74.464,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7678,
    "c": 0.14178,
    "h": 121.2
  },
  "luminance": 0.46841
}

Semantic roles & 50–950 ramp

primary
#A6C151
secondary
#AA9FCF
accent
#51D771
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #A6C151

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

Preview Lab → · Contrast checker → · Palette generator →

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