#A6BC40#A6BC40

#A6BC40 is a light, vivid yellow-green. Relative luminance 0.444; OKLCH L 75.5% C 0.149 H 118.8°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#A6BC40
RGBrgb(166, 188, 64)
HSLhsl(71, 49%, 49%)
HSVhsv(71, 66%, 74%)
CMYKcmyk(11.7%, 0%, 66%, 26.3%)
CIE-LABlab(72.52, -24.44, 57.81)
CIE-LCHlch(72.52, 62.76, 112.92°)
OKLaboklab(75.48% -0.0718 0.1309)
OKLCHoklch(75.48% 0.149 118.8)
XYZxyz(34.6351, 44.4438, 11.6034)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC40 #5640BC
analogous
#BC9440 #A6BC40 #68BC40
triadic
#A6BC40 #40A6BC #BC40A6
tetradic
#A6BC40 #40BC94 #5640BC #BC4068
square
#A6BC40 #40BC94 #5640BC #BC4068
split-complementary
#A6BC40 #4068BC #9440BC
monochromatic
#556121 #7E8E30 #A6BC40 #BCCD6C #D1DD9A

Accessibility & contrast

On white

2.12
#A6BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#A6BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC40
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC40#FFFFFF#000000##000000
##A6BC401.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#AFB2A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc40;
/* rgb */ color: rgb(166, 188, 64);
/* oklch */ color: oklch(75.5% 0.149 118.8);
Tailwind
colors: {
  custom: {
    50: '#c3d07b',
    500: '#a6bc40',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc40;
$custom-light: #c3d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc40",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 70.645,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75475,
    "c": 0.1493,
    "h": 118.8
  },
  "luminance": 0.44444
}

Semantic roles & 50–950 ramp

primary
#A6BC40
secondary
#998FC9
accent
#4FD967
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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