#6C9822#6C9822

#6C9822 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.5% C 0.150 H 128.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6C9822
RGBrgb(108, 152, 34)
HSLhsl(82, 63%, 36%)
HSVhsv(82, 78%, 60%)
CMYKcmyk(28.9%, 0%, 77.6%, 40.4%)
CIE-LABlab(57.81, -32.60, 53.09)
CIE-LCHlch(57.81, 62.30, 121.56°)
OKLaboklab(62.53% -0.0934 0.1176)
OKLCHoklch(62.53% 0.15 128.5)
XYZxyz(17.7013, 25.7597, 5.5526)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9822 #4E2298
analogous
#988922 #6C9822 #319822
triadic
#6C9822 #226C98 #98226C
tetradic
#6C9822 #229889 #4E2298 #982231
square
#6C9822 #229889 #4E2298 #982231
split-complementary
#6C9822 #223198 #892298
monochromatic
#25340C #486617 #6C9822 #90CA2D #AADA5A

Accessibility & contrast

On white

3.41
#6C9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#6C9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9822
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9822#FFFFFF#000000##000000
##6C98221.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#709182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6c9822;
/* rgb */ color: rgb(108, 152, 34);
/* oklch */ color: oklch(62.5% 0.150 128.5);
Tailwind
colors: {
  custom: {
    50: '#9ab667',
    500: '#6c9822',
    950: '#000000',
  },
}
SCSS
$custom: #6c9822;
$custom-light: #9ab667;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9822",
  "rgb": {
    "r": 108,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 82.373,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62527,
    "c": 0.15024,
    "h": 128.5
  },
  "luminance": 0.2576
}

Semantic roles & 50–950 ramp

primary
#6C9822
secondary
#7E57BE
accent
#41E67F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9822

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

Preview Lab → · Contrast checker → · Palette generator →

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