#6AAA42#6AAA42

#6AAA42 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.2% C 0.152 H 135.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6AAA42
RGBrgb(106, 170, 66)
HSLhsl(97, 44%, 46%)
HSVhsv(97, 61%, 67%)
CMYKcmyk(37.6%, 0%, 61.2%, 33.3%)
CIE-LABlab(63.51, -39.02, 46.12)
CIE-LCHlch(63.51, 60.41, 130.23°)
OKLaboklab(67.22% -0.1083 0.1074)
OKLCHoklch(67.22% 0.153 135.2)
XYZxyz(21.3015, 32.2060, 10.2472)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AAA42 #8242AA
analogous
#9EAA42 #6AAA42 #42AA4E
triadic
#6AAA42 #426AAA #AA426A
tetradic
#6AAA42 #429EAA #8242AA #AA4E42
square
#6AAA42 #429EAA #8242AA #AA4E42
split-complementary
#6AAA42 #4E42AA #AA429E
monochromatic
#335220 #4F7E31 #6AAA42 #8AC366 #ABD592

Accessibility & contrast

On white

2.82
#6AAA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#6AAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AAA42
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AAA42#FFFFFF#000000##000000
##6AAA421.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D36
Deuteranopia (green-blind)
#A7984A
Tritanopia (blue-blind)
#69A494
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6aaa42;
/* rgb */ color: rgb(106, 170, 66);
/* oklch */ color: oklch(67.2% 0.152 135.2);
Tailwind
colors: {
  custom: {
    50: '#99c47a',
    500: '#6aaa42',
    950: '#000000',
  },
}
SCSS
$custom: #6aaa42;
$custom-light: #99c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#6aaa42",
  "rgb": {
    "r": 106,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 96.923,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.1525,
    "h": 135.2
  },
  "luminance": 0.32207
}

Semantic roles & 50–950 ramp

primary
#6AAA42
secondary
#AA88C0
accent
#54D4A3
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E1209
muted
#7E817B

Preview Lab

Preview with #6AAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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