#6C8118#6C8118

#6C8118 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.127 H 120.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C8118
RGBrgb(108, 129, 24)
HSLhsl(72, 69%, 30%)
HSVhsv(72, 81%, 51%)
CMYKcmyk(16.3%, 0%, 81.4%, 49.4%)
CIE-LABlab(50.63, -21.91, 49.67)
CIE-LCHlch(50.63, 54.29, 113.80°)
OKLaboklab(56.7% -0.0651 0.1087)
OKLCHoklch(56.7% 0.127 120.9)
XYZxyz(14.1997, 18.9546, 3.7745)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8118 #2D1881
analogous
#816118 #6C8118 #388118
triadic
#6C8118 #186C81 #81186C
tetradic
#6C8118 #188161 #2D1881 #811838
square
#6C8118 #188161 #2D1881 #811838
split-complementary
#6C8118 #183881 #611881
monochromatic
#161A05 #414D0E #6C8118 #97B522 #BADA39

Accessibility & contrast

On white

4.38
#6C8118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6C8118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8118
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8118#FFFFFF#000000##000000
##6C81181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#727A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8118;
/* rgb */ color: rgb(108, 129, 24);
/* oklch */ color: oklch(56.7% 0.127 120.9);
Tailwind
colors: {
  custom: {
    50: '#99a55f',
    500: '#6c8118',
    950: '#000000',
  },
}
SCSS
$custom: #6c8118;
$custom-light: #99a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8118",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 72,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.1267,
    "h": 120.9
  },
  "luminance": 0.18955
}

Semantic roles & 50–950 ramp

primary
#6C8118
secondary
#5740B5
accent
#3CEB5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8118

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

Preview Lab → · Contrast checker → · Palette generator →

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