#6C8A3F#6C8A3F

#6C8A3F is a mid, moderate yellow-green. Relative luminance 0.217; OKLCH L 59.3% C 0.108 H 127.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6C8A3F
RGBrgb(108, 138, 63)
HSLhsl(84, 37%, 39%)
HSVhsv(84, 54%, 54%)
CMYKcmyk(21.7%, 0%, 54.3%, 45.9%)
CIE-LABlab(53.73, -23.52, 36.31)
CIE-LCHlch(53.73, 43.26, 122.93°)
OKLaboklab(59.3% -0.0659 0.086)
OKLCHoklch(59.3% 0.108 127.5)
XYZxyz(16.1700, 21.7237, 8.0429)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A3F #5D3F8A
analogous
#8A833F #6C8A3F #478A3F
triadic
#6C8A3F #3F6C8A #8A3F6C
tetradic
#6C8A3F #3F8A83 #5D3F8A #8A3F47
square
#6C8A3F #3F8A83 #5D3F8A #8A3F47
split-complementary
#6C8A3F #3F478A #833F8A
monochromatic
#2A3619 #4B602C #6C8A3F #8CB155 #A9C57F

Accessibility & contrast

On white

3.93
#6C8A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6C8A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A3F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A3F#FFFFFF#000000##000000
##6C8A3F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908238
Deuteranopia (green-blind)
#8C8044
Tritanopia (blue-blind)
#6F8479
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a3f;
/* rgb */ color: rgb(108, 138, 63);
/* oklch */ color: oklch(59.3% 0.108 127.5);
Tailwind
colors: {
  custom: {
    50: '#98ac76',
    500: '#6c8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a3f;
$custom-light: #98ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a3f",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 84,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.10831,
    "h": 127.5
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#6C8A3F
secondary
#8D76AF
accent
#5BCD88
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6C8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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