#6C9722#6C9722

#6C9722 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.3% C 0.149 H 128.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6C9722
RGBrgb(108, 151, 34)
HSLhsl(82, 63%, 36%)
HSVhsv(82, 77%, 59%)
CMYKcmyk(28.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(57.50, -32.14, 52.80)
CIE-LCHlch(57.50, 61.81, 121.33°)
OKLaboklab(62.28% -0.0922 0.117)
OKLCHoklch(62.28% 0.149 128.2)
XYZxyz(17.5397, 25.4364, 5.4987)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9722 #4D2297
analogous
#978822 #6C9722 #329722
triadic
#6C9722 #226C97 #97226C
tetradic
#6C9722 #229788 #4D2297 #972232
square
#6C9722 #229788 #4D2297 #972232
split-complementary
#6C9722 #223297 #882297
monochromatic
#25330C #486517 #6C9722 #90C92D #ABDA5A

Accessibility & contrast

On white

3.45
#6C9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#6C9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9722
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9722#FFFFFF#000000##000000
##6C97221.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C04
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#709081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6c9722;
/* rgb */ color: rgb(108, 151, 34);
/* oklch */ color: oklch(62.3% 0.149 128.2);
Tailwind
colors: {
  custom: {
    50: '#9ab667',
    500: '#6c9722',
    950: '#000000',
  },
}
SCSS
$custom: #6c9722;
$custom-light: #9ab667;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9722",
  "rgb": {
    "r": 108,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 82.051,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62275,
    "c": 0.14897,
    "h": 128.2
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#6C9722
secondary
#7D57BE
accent
#42E67E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9722

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

Preview Lab → · Contrast checker → · Palette generator →

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