#6C8127#6C8127

#6C8127 is a mid, moderate yellow-green. Relative luminance 0.190; OKLCH L 56.8% C 0.117 H 121.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6C8127
RGBrgb(108, 129, 39)
HSLhsl(74, 54%, 33%)
HSVhsv(74, 70%, 51%)
CMYKcmyk(16.3%, 0%, 69.8%, 49.4%)
CIE-LABlab(50.73, -21.07, 44.23)
CIE-LCHlch(50.73, 48.99, 115.47°)
OKLaboklab(56.8% -0.0614 0.0999)
OKLCHoklch(56.8% 0.117 121.6)
XYZxyz(14.4010, 19.0351, 4.8345)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8127 #3C2781
analogous
#816927 #6C8127 #3F8127
triadic
#6C8127 #276C81 #81276C
tetradic
#6C8127 #278169 #3C2781 #81273F
square
#6C8127 #278169 #3C2781 #81273F
split-complementary
#6C8127 #273F81 #692781
monochromatic
#1D230B #455219 #6C8127 #93B035 #B1CC56

Accessibility & contrast

On white

4.37
#6C8127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6C8127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8127
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8127#FFFFFF#000000##000000
##6C81271.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791A
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#727A6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8127;
/* rgb */ color: rgb(108, 129, 39);
/* oklch */ color: oklch(56.8% 0.117 121.6);
Tailwind
colors: {
  custom: {
    50: '#99a567',
    500: '#6c8127',
    950: '#000000',
  },
}
SCSS
$custom: #6c8127;
$custom-light: #99a567;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8127",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 74,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.11722,
    "h": 121.6
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#6C8127
secondary
#6953B1
accent
#4BDD6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8127

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

Preview Lab → · Contrast checker → · Palette generator →

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