#6C8A2E#6C8A2E

#6C8A2E is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.124 H 125.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6C8A2E
RGBrgb(108, 138, 46)
HSLhsl(80, 50%, 36%)
HSVhsv(80, 67%, 54%)
CMYKcmyk(21.7%, 0%, 66.7%, 45.9%)
CIE-LABlab(53.56, -25.10, 44.18)
CIE-LCHlch(53.56, 50.81, 119.60°)
OKLaboklab(59.11% -0.0719 0.1008)
OKLCHoklch(59.11% 0.124 125.5)
XYZxyz(15.7660, 21.5622, 5.9155)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A2E #4C2E8A
analogous
#8A7A2E #6C8A2E #3E8A2E
triadic
#6C8A2E #2E6C8A #8A2E6C
tetradic
#6C8A2E #2E8A7A #4C2E8A #8A2E3E
square
#6C8A2E #2E8A7A #4C2E8A #8A2E3E
split-complementary
#6C8A2E #2E3E8A #7A2E8A
monochromatic
#242E0F #485C1F #6C8A2E #90B83D #ABCC66

Accessibility & contrast

On white

3.95
#6C8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6C8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A2E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A2E#FFFFFF#000000##000000
##6C8A2E1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#8D8035
Tritanopia (blue-blind)
#718377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a2e;
/* rgb */ color: rgb(108, 138, 46);
/* oklch */ color: oklch(59.1% 0.124 125.5);
Tailwind
colors: {
  custom: {
    50: '#99ac6c',
    500: '#6c8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a2e;
$custom-light: #99ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a2e",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 79.565,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.12381,
    "h": 125.5
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#6C8A2E
secondary
#7C61B3
accent
#4EDA7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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