#6C8237#6C8237

#6C8237 is a mid, moderate yellow-green. Relative luminance 0.194; OKLCH L 57.2% C 0.105 H 123.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6C8237
RGBrgb(108, 130, 55)
HSLhsl(78, 41%, 36%)
HSVhsv(78, 58%, 51%)
CMYKcmyk(16.9%, 0%, 57.7%, 49%)
CIE-LABlab(51.19, -20.26, 37.35)
CIE-LCHlch(51.19, 42.49, 118.47°)
OKLaboklab(57.22% -0.0575 0.0874)
OKLCHoklch(57.22% 0.105 123.4)
XYZxyz(14.8566, 19.4292, 6.5812)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8237 #4D3782
analogous
#827337 #6C8237 #478237
triadic
#6C8237 #376C82 #82376C
tetradic
#6C8237 #378273 #4D3782 #823747
square
#6C8237 #378273 #4D3782 #823747
split-complementary
#6C8237 #374782 #733782
monochromatic
#252C13 #485725 #6C8237 #90AD49 #ABC371

Accessibility & contrast

On white

4.30
#6C8237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6C8237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8237
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8237#FFFFFF#000000##000000
##6C82371.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2F
Deuteranopia (green-blind)
#867A3C
Tritanopia (blue-blind)
#717C71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8237;
/* rgb */ color: rgb(108, 130, 55);
/* oklch */ color: oklch(57.2% 0.105 123.4);
Tailwind
colors: {
  custom: {
    50: '#98a670',
    500: '#6c8237',
    950: '#000000',
  },
}
SCSS
$custom: #6c8237;
$custom-light: #98a670;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8237",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 77.6,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.10464,
    "h": 123.4
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#6C8237
secondary
#7D69AB
accent
#57D07B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F08
muted
#7E7F7B

Preview Lab

Preview with #6C8237

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

Preview Lab → · Contrast checker → · Palette generator →

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