#6C8151#6C8151

#6C8151 is a mid, moderate yellow-green. Relative luminance 0.195; OKLCH L 57.4% C 0.074 H 127.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C8151
RGBrgb(108, 129, 81)
HSLhsl(86, 23%, 41%)
HSVhsv(86, 37%, 51%)
CMYKcmyk(16.3%, 0%, 37.2%, 49.4%)
CIE-LABlab(51.25, -16.57, 23.58)
CIE-LCHlch(51.25, 28.82, 125.11°)
OKLaboklab(57.39% -0.0452 0.0584)
OKLCHoklch(57.39% 0.074 127.8)
XYZxyz(15.5196, 19.4826, 10.7259)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8151 #665181
analogous
#817E51 #6C8151 #548151
triadic
#6C8151 #516C81 #81516C
tetradic
#6C8151 #51817E #665181 #815154
square
#6C8151 #51817E #665181 #815154
split-complementary
#6C8151 #515481 #7E5181
monochromatic
#2D3622 #4D5B39 #6C8151 #8BA36C #A9BA92

Accessibility & contrast

On white

4.29
#6C8151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6C8151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8151
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8151#FFFFFF#000000##000000
##6C81511.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4E
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#6E7D75
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8151;
/* rgb */ color: rgb(108, 129, 81);
/* oklch */ color: oklch(57.4% 0.074 127.8);
Tailwind
colors: {
  custom: {
    50: '#97a582',
    500: '#6c8151',
    950: '#000000',
  },
}
SCSS
$custom: #6c8151;
$custom-light: #97a582;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8151",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 86.25,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.07385,
    "h": 127.8
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#6C8151
secondary
#9586A8
accent
#68BF8E
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0D0F0A
muted
#7E7F7C

Preview Lab

Preview with #6C8151

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

Preview Lab → · Contrast checker → · Palette generator →

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