#6C8A22#6C8A22

#6C8A22 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.132 H 124.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6C8A22
RGBrgb(108, 138, 34)
HSLhsl(77, 60%, 34%)
HSVhsv(77, 75%, 54%)
CMYKcmyk(21.7%, 0%, 75.4%, 45.9%)
CIE-LABlab(53.47, -25.91, 48.93)
CIE-LCHlch(53.47, 55.37, 117.90°)
OKLaboklab(59.01% -0.0752 0.1089)
OKLCHoklch(59.01% 0.132 124.6)
XYZxyz(15.5617, 21.4804, 4.8394)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A22 #40228A
analogous
#8A7422 #6C8A22 #388A22
triadic
#6C8A22 #226C8A #8A226C
tetradic
#6C8A22 #228A74 #40228A #8A2238
square
#6C8A22 #228A74 #40228A #8A2238
split-complementary
#6C8A22 #22388A #74228A
monochromatic
#1F280A #465916 #6C8A22 #92BB2E #AFD452

Accessibility & contrast

On white

3.97
#6C8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6C8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A22
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A22#FFFFFF#000000##000000
##6C8A221.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a22;
/* rgb */ color: rgb(108, 138, 34);
/* oklch */ color: oklch(59.0% 0.132 124.6);
Tailwind
colors: {
  custom: {
    50: '#99ac65',
    500: '#6c8a22',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a22;
$custom-light: #99ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a22",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 77.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.13236,
    "h": 124.6
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#6C8A22
secondary
#6E50B8
accent
#44E472
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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