#A6CB2E#A6CB2E

#A6CB2E is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.8% C 0.178 H 122.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#A6CB2E
RGBrgb(166, 203, 46)
HSLhsl(74, 63%, 49%)
HSVhsv(74, 77%, 80%)
CMYKcmyk(18.2%, 0%, 77.3%, 20.4%)
CIE-LABlab(76.69, -32.55, 68.23)
CIE-LCHlch(76.69, 75.60, 115.51°)
OKLaboklab(78.8% -0.0958 0.15)
OKLCHoklch(78.8% 0.178 122.6)
XYZxyz(37.5755, 51.0160, 10.4517)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CB2E #532ECB
analogous
#CBA22E #A6CB2E #58CB2E
triadic
#A6CB2E #2EA6CB #CB2EA6
tetradic
#A6CB2E #2ECBA2 #532ECB #CB2E58
square
#A6CB2E #2ECBA2 #532ECB #CB2E58
split-complementary
#A6CB2E #2E58CB #A22ECB
monochromatic
#546717 #7D9923 #A6CB2E #BCDA5C #D1E58E

Accessibility & contrast

On white

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

On black

11.20
#A6CB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CB2E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CB2E#FFFFFF#000000##000000
##A6CB2E1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#AFC0AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a6cb2e;
/* rgb */ color: rgb(166, 203, 46);
/* oklch */ color: oklch(78.8% 0.178 122.6);
Tailwind
colors: {
  custom: {
    50: '#c4db74',
    500: '#a6cb2e',
    950: '#000000',
  },
}
SCSS
$custom: #a6cb2e;
$custom-light: #c4db74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cb2e",
  "rgb": {
    "r": 166,
    "g": 203,
    "b": 46
  },
  "hsl": {
    "h": 74.14,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78797,
    "c": 0.17793,
    "h": 122.6
  },
  "luminance": 0.51016
}

Semantic roles & 50–950 ramp

primary
#A6CB2E
secondary
#3C2C71
accent
#42E668
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A6CB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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