#6FA822#6FA822

#6FA822 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.7% C 0.169 H 130.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6FA822
RGBrgb(111, 168, 34)
HSLhsl(86, 66%, 40%)
HSVhsv(86, 80%, 66%)
CMYKcmyk(33.9%, 0%, 79.8%, 34.1%)
CIE-LABlab(62.93, -38.67, 57.94)
CIE-LCHlch(62.93, 69.66, 123.72°)
OKLaboklab(66.74% -0.1101 0.1278)
OKLCHoklch(66.74% 0.169 130.7)
XYZxyz(20.8468, 31.4995, 6.4947)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA822 #5B22A8
analogous
#A89E22 #6FA822 #2CA822
triadic
#6FA822 #226FA8 #A8226F
tetradic
#6FA822 #22A89E #5B22A8 #A8222C
square
#6FA822 #22A89E #5B22A8 #A8222C
split-complementary
#6FA822 #222CA8 #9E22A8
monochromatic
#2C420D #4D7518 #6FA822 #90D532 #ABE065

Accessibility & contrast

On white

2.88
#6FA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#6FA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA822
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA822#FFFFFF#000000##000000
##6FA8221.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#71A18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa822;
/* rgb */ color: rgb(111, 168, 34);
/* oklch */ color: oklch(66.7% 0.169 130.7);
Tailwind
colors: {
  custom: {
    50: '#9dc269',
    500: '#6fa822',
    950: '#000000',
  },
}
SCSS
$custom: #6fa822;
$custom-light: #9dc269;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa822",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 85.522,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.16863,
    "h": 130.7
  },
  "luminance": 0.315
}

Semantic roles & 50–950 ramp

primary
#6FA822
secondary
#8B61C5
accent
#3FE987
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA822

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

Preview Lab → · Contrast checker → · Palette generator →

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