#A6D258#A6D258

#A6D258 is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 80.8% C 0.158 H 126.4°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#A6D258
RGBrgb(166, 210, 88)
HSLhsl(82, 58%, 58%)
HSVhsv(82, 58%, 82%)
CMYKcmyk(21%, 0%, 58.1%, 17.6%)
CIE-LABlab(78.99, -33.07, 54.63)
CIE-LCHlch(78.99, 63.86, 121.19°)
OKLaboklab(80.75% -0.0936 0.1272)
OKLCHoklch(80.75% 0.158 126.4)
XYZxyz(40.5339, 54.9042, 17.6927)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D258 #8458D2
analogous
#D2C158 #A6D258 #69D258
triadic
#A6D258 #58A6D2 #D258A6
tetradic
#A6D258 #58D2C1 #8458D2 #D25869
square
#A6D258 #58D2C1 #8458D2 #D25869
split-complementary
#A6D258 #5869D2 #C158D2
monochromatic
#668A25 #89BB32 #A6D258 #C0DF88 #D9ECB8

Accessibility & contrast

On white

1.75
#A6D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#A6D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D258
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D258#FFFFFF#000000##000000
##A6D2581.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#ACC9B8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a6d258;
/* rgb */ color: rgb(166, 210, 88);
/* oklch */ color: oklch(80.8% 0.158 126.4);
Tailwind
colors: {
  custom: {
    50: '#c3e08b',
    500: '#a6d258',
    950: '#000000',
  },
}
SCSS
$custom: #a6d258;
$custom-light: #c3e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d258",
  "rgb": {
    "r": 166,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 81.639,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8075,
    "c": 0.15789,
    "h": 126.4
  },
  "luminance": 0.54905
}

Semantic roles & 50–950 ramp

primary
#A6D258
secondary
#5C3E91
accent
#47E17E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D258

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

Preview Lab → · Contrast checker → · Palette generator →

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