#A6D158#A6D158

#A6D158 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.5% C 0.157 H 126.1°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#A6D158
RGBrgb(166, 209, 88)
HSLhsl(81, 57%, 58%)
HSVhsv(81, 58%, 82%)
CMYKcmyk(20.6%, 0%, 57.9%, 18%)
CIE-LABlab(78.70, -32.60, 54.31)
CIE-LCHlch(78.70, 63.34, 120.98°)
OKLaboklab(80.52% -0.0923 0.1265)
OKLCHoklch(80.52% 0.157 126.1)
XYZxyz(40.2878, 54.4120, 17.6107)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D158 #8358D1
analogous
#D1BF58 #A6D158 #69D158
triadic
#A6D158 #58A6D1 #D158A6
tetradic
#A6D158 #58D1BF #8358D1 #D15869
square
#A6D158 #58D1BF #8358D1 #D15869
split-complementary
#A6D158 #5869D1 #BF58D1
monochromatic
#668926 #89B933 #A6D158 #C0DE88 #D9EBB8

Accessibility & contrast

On white

1.77
#A6D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#A6D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D158
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D158#FFFFFF#000000##000000
##A6D1581.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#ACC8B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a6d158;
/* rgb */ color: rgb(166, 209, 88);
/* oklch */ color: oklch(80.5% 0.157 126.1);
Tailwind
colors: {
  custom: {
    50: '#c3df8b',
    500: '#a6d158',
    950: '#000000',
  },
}
SCSS
$custom: #a6d158;
$custom-light: #c3df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d158",
  "rgb": {
    "r": 166,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 81.322,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8052,
    "c": 0.15658,
    "h": 126.1
  },
  "luminance": 0.54413
}

Semantic roles & 50–950 ramp

primary
#A6D158
secondary
#5B3E8F
accent
#48E07E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D158

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

Preview Lab → · Contrast checker → · Palette generator →

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