#6FA22C#6FA22C

#6FA22C is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.3% C 0.155 H 130.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6FA22C
RGBrgb(111, 162, 44)
HSLhsl(86, 57%, 40%)
HSVhsv(86, 73%, 64%)
CMYKcmyk(31.5%, 0%, 72.8%, 36.5%)
CIE-LABlab(61.13, -35.43, 52.84)
CIE-LCHlch(61.13, 63.62, 123.84°)
OKLaboklab(65.3% -0.1005 0.1186)
OKLCHoklch(65.3% 0.156 130.3)
XYZxyz(19.9304, 29.4014, 7.0073)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA22C #5F2CA2
analogous
#A29A2C #6FA22C #34A22C
triadic
#6FA22C #2C6FA2 #A22C6F
tetradic
#6FA22C #2CA29A #5F2CA2 #A22C34
square
#6FA22C #2CA29A #5F2CA2 #A22C34
split-complementary
#6FA22C #2C34A2 #9A2CA2
monochromatic
#2D4212 #4E721F #6FA22C #8FCB40 #ABD870

Accessibility & contrast

On white

3.05
#6FA22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#6FA22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA22C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA22C#FFFFFF#000000##000000
##6FA22C1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99617
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#729B8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6fa22c;
/* rgb */ color: rgb(111, 162, 44);
/* oklch */ color: oklch(65.3% 0.155 130.3);
Tailwind
colors: {
  custom: {
    50: '#9cbe6d',
    500: '#6fa22c',
    950: '#000000',
  },
}
SCSS
$custom: #6fa22c;
$custom-light: #9cbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa22c",
  "rgb": {
    "r": 111,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 85.932,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65299,
    "c": 0.1555,
    "h": 130.3
  },
  "luminance": 0.29402
}

Semantic roles & 50–950 ramp

primary
#6FA22C
secondary
#8F6ABF
accent
#47E18A
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6FA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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