#A6C258#A6C258

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

Color values

HEX#A6C258
RGBrgb(166, 194, 88)
HSLhsl(76, 46%, 55%)
HSVhsv(76, 55%, 76%)
CMYKcmyk(14.4%, 0%, 54.6%, 23.9%)
CIE-LABlab(74.44, -25.48, 49.43)
CIE-LCHlch(74.44, 55.61, 117.27°)
OKLaboklab(77.09% -0.0724 0.116)
OKLCHoklch(77.09% 0.137 122)
XYZxyz(36.7794, 47.3951, 16.4412)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C258 #7458C2
analogous
#C2A958 #A6C258 #71C258
triadic
#A6C258 #58A6C2 #C258A6
tetradic
#A6C258 #58C2A9 #7458C2 #C25871
square
#A6C258 #58C2A9 #7458C2 #C25871
split-complementary
#A6C258 #5871C2 #A958C2
monochromatic
#61752B #87A23B #A6C258 #BED285 #D6E3B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C258#FFFFFF#000000##000000
##A6C2581.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)
#CCB84E
Deuteranopia (green-blind)
#C9B75F
Tritanopia (blue-blind)
#ADB9AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c258;
/* rgb */ color: rgb(166, 194, 88);
/* oklch */ color: oklch(77.1% 0.137 122.0);
Tailwind
colors: {
  custom: {
    50: '#c2d48a',
    500: '#a6c258',
    950: '#000000',
  },
}
SCSS
$custom: #a6c258;
$custom-light: #c2d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c258",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 75.849,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77087,
    "c": 0.13676,
    "h": 122
  },
  "luminance": 0.47395
}

Semantic roles & 50–950 ramp

primary
#A6C258
secondary
#B0A5D1
accent
#52D675
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #A6C258

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

Preview Lab → · Contrast checker → · Palette generator →

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