#6C8157#6C8157

#6C8157 is a mid, moderate yellow-green. Relative luminance 0.196; OKLCH L 57.5% C 0.066 H 129.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6C8157
RGBrgb(108, 129, 87)
HSLhsl(90, 19%, 42%)
HSVhsv(90, 33%, 51%)
CMYKcmyk(16.3%, 0%, 32.6%, 49.4%)
CIE-LABlab(51.36, -15.67, 20.34)
CIE-LCHlch(51.36, 25.67, 127.61°)
OKLaboklab(57.51% -0.0425 0.0509)
OKLCHoklch(57.51% 0.066 129.9)
XYZxyz(15.7546, 19.5766, 11.9636)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8157 #6C5781
analogous
#818157 #6C8157 #578157
triadic
#6C8157 #576C81 #81576C
tetradic
#6C8157 #578181 #6C5781 #815757
square
#6C8157 #578181 #6C5781 #815757
split-complementary
#6C8157 #575781 #815781
monochromatic
#2F3826 #4D5C3E #6C8157 #8BA174 #A9BA99

Accessibility & contrast

On white

4.27
#6C8157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6C8157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8157
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8157#FFFFFF#000000##000000
##6C81571.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B54
Deuteranopia (green-blind)
#827A59
Tritanopia (blue-blind)
#6D7D76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8157;
/* rgb */ color: rgb(108, 129, 87);
/* oklch */ color: oklch(57.5% 0.066 129.9);
Tailwind
colors: {
  custom: {
    50: '#96a586',
    500: '#6c8157',
    950: '#000000',
  },
}
SCSS
$custom: #6c8157;
$custom-light: #96a586;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8157",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 90,
    "s": 19.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.06632,
    "h": 129.9
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#6C8157
secondary
#9A8CA8
accent
#6CBC94
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0D0F0B
muted
#7E7F7C

Preview Lab

Preview with #6C8157

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

Preview Lab → · Contrast checker → · Palette generator →

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