#6AA42A#6AA42A

#6AA42A is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.5% C 0.162 H 131.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6AA42A
RGBrgb(106, 164, 42)
HSLhsl(89, 59%, 40%)
HSVhsv(89, 74%, 64%)
CMYKcmyk(35.4%, 0%, 74.4%, 35.7%)
CIE-LABlab(61.47, -38.32, 53.81)
CIE-LCHlch(61.47, 66.06, 125.45°)
OKLaboklab(65.49% -0.1082 0.1205)
OKLCHoklch(65.49% 0.162 131.9)
XYZxyz(19.6370, 29.7815, 6.9038)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AA42A #642AA4
analogous
#A4A12A #6AA42A #2DA42A
triadic
#6AA42A #2A6AA4 #A42A6A
tetradic
#6AA42A #2AA4A1 #642AA4 #A42A2D
square
#6AA42A #2AA4A1 #642AA4 #A42A2D
split-complementary
#6AA42A #2A2DA4 #A12AA4
monochromatic
#2B4311 #4B731E #6AA42A #89CD3E #A7DA6E

Accessibility & contrast

On white

3.02
#6AA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#6AA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6AA42A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AA42A#FFFFFF#000000##000000
##6AA42A1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9712
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#6B9D8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6aa42a;
/* rgb */ color: rgb(106, 164, 42);
/* oklch */ color: oklch(65.5% 0.162 131.9);
Tailwind
colors: {
  custom: {
    50: '#99bf6c',
    500: '#6aa42a',
    950: '#000000',
  },
}
SCSS
$custom: #6aa42a;
$custom-light: #99bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6aa42a",
  "rgb": {
    "r": 106,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 88.525,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.16193,
    "h": 131.9
  },
  "luminance": 0.29782
}

Semantic roles & 50–950 ramp

primary
#6AA42A
secondary
#9369C1
accent
#45E290
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6AA42A

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

Preview Lab → · Contrast checker → · Palette generator →

#6AA42A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva