#A6C845#A6C845

#A6C845 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.3% C 0.160 H 122.6°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#A6C845
RGBrgb(166, 200, 69)
HSLhsl(76, 54%, 53%)
HSVhsv(76, 66%, 78%)
CMYKcmyk(17%, 0%, 65.5%, 21.6%)
CIE-LABlab(75.97, -29.87, 59.40)
CIE-LCHlch(75.97, 66.49, 116.69°)
OKLaboklab(78.27% -0.0864 0.1349)
OKLCHoklch(78.27% 0.16 122.6)
XYZxyz(37.4547, 49.8451, 13.2769)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C845 #6745C8
analogous
#C8A945 #A6C845 #64C845
triadic
#A6C845 #45A6C8 #C845A6
tetradic
#A6C845 #45C8A9 #6745C8 #C84564
square
#A6C845 #45C8A9 #6745C8 #C84564
split-complementary
#A6C845 #4564C8 #A945C8
monochromatic
#5C7121 #83A02F #A6C845 #BDD674 #D3E4A3

Accessibility & contrast

On white

1.91
#A6C845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#A6C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C845
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C845#FFFFFF#000000##000000
##A6C8451.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC33
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#AEBEAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a6c845;
/* rgb */ color: rgb(166, 200, 69);
/* oklch */ color: oklch(78.3% 0.160 122.6);
Tailwind
colors: {
  custom: {
    50: '#c3d87f',
    500: '#a6c845',
    950: '#000000',
  },
}
SCSS
$custom: #a6c845;
$custom-light: #c3d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c845",
  "rgb": {
    "r": 166,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 75.573,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78266,
    "c": 0.16026,
    "h": 122.6
  },
  "luminance": 0.49845
}

Semantic roles & 50–950 ramp

primary
#A6C845
secondary
#A798D1
accent
#4ADE70
background
#FCFDF8
surface
#F8FAEF
border
#D1D3CA
text
#13140A
muted
#82837C

Preview Lab

Preview with #A6C845

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

Preview Lab → · Contrast checker → · Palette generator →

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