#A6C138#A6C138

#A6C138 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.6% C 0.161 H 120.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#A6C138
RGBrgb(166, 193, 56)
HSLhsl(72, 55%, 49%)
HSVhsv(72, 71%, 76%)
CMYKcmyk(14%, 0%, 71%, 24.3%)
CIE-LABlab(73.89, -27.34, 62.26)
CIE-LCHlch(73.89, 67.99, 113.71°)
OKLaboklab(76.56% -0.0806 0.139)
OKLCHoklch(76.56% 0.161 120.1)
XYZxyz(35.5103, 46.5326, 10.8516)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C138 #5338C1
analogous
#C19838 #A6C138 #62C138
triadic
#A6C138 #38A6C1 #C138A6
tetradic
#A6C138 #38C198 #5338C1 #C13862
square
#A6C138 #38C198 #5338C1 #C13862
split-complementary
#A6C138 #3862C1 #9838C1
monochromatic
#54621C #7D922A #A6C138 #BCD264 #D1E094

Accessibility & contrast

On white

2.04
#A6C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#A6C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C138
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C138#FFFFFF#000000##000000
##A6C1381.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#AFB7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c138;
/* rgb */ color: rgb(166, 193, 56);
/* oklch */ color: oklch(76.6% 0.161 120.1);
Tailwind
colors: {
  custom: {
    50: '#c4d377',
    500: '#a6c138',
    950: '#000000',
  },
}
SCSS
$custom: #a6c138;
$custom-light: #c4d377;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c138",
  "rgb": {
    "r": 166,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 71.825,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76556,
    "c": 0.16069,
    "h": 120.1
  },
  "luminance": 0.46532
}

Semantic roles & 50–950 ramp

primary
#A6C138
secondary
#978ACB
accent
#49DE67
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A6C138

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

Preview Lab → · Contrast checker → · Palette generator →

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