#6FA42A#6FA42A

#6FA42A is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.8% C 0.159 H 130.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6FA42A
RGBrgb(111, 164, 42)
HSLhsl(86, 59%, 40%)
HSVhsv(86, 74%, 64%)
CMYKcmyk(32.3%, 0%, 74.4%, 35.7%)
CIE-LABlab(61.74, -36.45, 54.17)
CIE-LCHlch(61.74, 65.29, 123.94°)
OKLaboklab(65.79% -0.1035 0.1211)
OKLCHoklch(65.79% 0.159 130.5)
XYZxyz(20.2488, 30.0969, 6.9325)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA42A #5F2AA4
analogous
#A49C2A #6FA42A #32A42A
triadic
#6FA42A #2A6FA4 #A42A6F
tetradic
#6FA42A #2AA49C #5F2AA4 #A42A32
square
#6FA42A #2AA49C #5F2AA4 #A42A32
split-complementary
#6FA42A #2A32A4 #9C2AA4
monochromatic
#2D4311 #4E731E #6FA42A #8FCD3E #ABDA6E

Accessibility & contrast

On white

2.99
#6FA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#6FA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA42A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA42A#FFFFFF#000000##000000
##6FA42A1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#729D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6fa42a;
/* rgb */ color: rgb(111, 164, 42);
/* oklch */ color: oklch(65.8% 0.159 130.5);
Tailwind
colors: {
  custom: {
    50: '#9dbf6c',
    500: '#6fa42a',
    950: '#000000',
  },
}
SCSS
$custom: #6fa42a;
$custom-light: #9dbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa42a",
  "rgb": {
    "r": 111,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 86.066,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65786,
    "c": 0.1593,
    "h": 130.5
  },
  "luminance": 0.30098
}

Semantic roles & 50–950 ramp

primary
#6FA42A
secondary
#8F69C1
accent
#45E28A
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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