#A6CB40#A6CB40

#A6CB40 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.9% C 0.167 H 123.2°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#A6CB40
RGBrgb(166, 203, 64)
HSLhsl(76, 57%, 52%)
HSVhsv(76, 68%, 80%)
CMYKcmyk(18.2%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.79, -31.60, 62.20)
CIE-LCHlch(76.79, 69.77, 116.94°)
OKLaboklab(78.92% -0.0917 0.1401)
OKLCHoklch(78.92% 0.167 123.2)
XYZxyz(38.0076, 51.1888, 12.7276)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CB40 #6540CB
analogous
#CBAA40 #A6CB40 #61CB40
triadic
#A6CB40 #40A6CB #CB40A6
tetradic
#A6CB40 #40CBAA #6540CB #CB4061
square
#A6CB40 #40CBAA #6540CB #CB4061
split-complementary
#A6CB40 #4061CB #AA40CB
monochromatic
#5C721F #82A22C #A6CB40 #BCD870 #D3E5A0

Accessibility & contrast

On white

1.87
#A6CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#A6CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CB40
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CB40#FFFFFF#000000##000000
##A6CB401.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D2BD4B
Tritanopia (blue-blind)
#AEC1AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a6cb40;
/* rgb */ color: rgb(166, 203, 64);
/* oklch */ color: oklch(78.9% 0.167 123.2);
Tailwind
colors: {
  custom: {
    50: '#c4db7d',
    500: '#a6cb40',
    950: '#000000',
  },
}
SCSS
$custom: #a6cb40;
$custom-light: #c4db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cb40",
  "rgb": {
    "r": 166,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 75.971,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78915,
    "c": 0.16745,
    "h": 123.2
  },
  "luminance": 0.51189
}

Semantic roles & 50–950 ramp

primary
#A6CB40
secondary
#47357B
accent
#47E070
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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