#A6C226#A6C226

#A6C226 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.7% C 0.171 H 120.0°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#A6C226
RGBrgb(166, 194, 38)
HSLhsl(71, 67%, 45%)
HSVhsv(71, 80%, 76%)
CMYKcmyk(14.4%, 0%, 80.4%, 23.9%)
CIE-LABlab(74.08, -28.65, 68.16)
CIE-LCHlch(74.08, 73.94, 112.80°)
OKLaboklab(76.68% -0.0857 0.1485)
OKLCHoklch(76.68% 0.171 120)
XYZxyz(35.3683, 46.8307, 9.0093)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C226 #4226C2
analogous
#C29026 #A6C226 #58C226
triadic
#A6C226 #26A6C2 #C226A6
tetradic
#A6C226 #26C290 #4226C2 #C22658
square
#A6C226 #26C290 #4226C2 #C22658
split-complementary
#A6C226 #2658C2 #9026C2
monochromatic
#4E5C12 #7A8F1C #A6C226 #C1DB4A #D3E67D

Accessibility & contrast

On white

2.03
#A6C226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#A6C226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C226
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C226#FFFFFF#000000##000000
##A6C2261.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#B0B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c226;
/* rgb */ color: rgb(166, 194, 38);
/* oklch */ color: oklch(76.7% 0.171 120.0);
Tailwind
colors: {
  custom: {
    50: '#c4d46f',
    500: '#a6c226',
    950: '#000000',
  },
}
SCSS
$custom: #a6c226;
$custom-light: #c4d46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c226",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 38
  },
  "hsl": {
    "h": 70.769,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76681,
    "c": 0.17142,
    "h": 120
  },
  "luminance": 0.46831
}

Semantic roles & 50–950 ramp

primary
#A6C226
secondary
#8676CE
accent
#3EEA5D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6C226

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

Preview Lab → · Contrast checker → · Palette generator →

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