#6C8718#6C8718

#6C8718 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.2% C 0.134 H 123.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6C8718
RGBrgb(108, 135, 24)
HSLhsl(75, 70%, 31%)
HSVhsv(75, 82%, 53%)
CMYKcmyk(20%, 0%, 82.2%, 47.1%)
CIE-LABlab(52.49, -24.93, 51.35)
CIE-LCHlch(52.49, 57.08, 115.90°)
OKLaboklab(58.2% -0.0733 0.1123)
OKLCHoklch(58.2% 0.134 123.1)
XYZxyz(15.0134, 20.5820, 4.0457)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8718 #331887
analogous
#876A18 #6C8718 #348718
triadic
#6C8718 #186C87 #87186C
tetradic
#6C8718 #18876A #331887 #871834
square
#6C8718 #18876A #331887 #871834
split-complementary
#6C8718 #183487 #6A1887
monochromatic
#191F06 #42530F #6C8718 #96BB21 #B6DC3D

Accessibility & contrast

On white

4.10
#6C8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#6C8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8718
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8718#FFFFFF#000000##000000
##6C87181.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#728073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6c8718;
/* rgb */ color: rgb(108, 135, 24);
/* oklch */ color: oklch(58.2% 0.134 123.1);
Tailwind
colors: {
  custom: {
    50: '#9aaa60',
    500: '#6c8718',
    950: '#000000',
  },
}
SCSS
$custom: #6c8718;
$custom-light: #9aaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8718",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 74.595,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.13409,
    "h": 123.1
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#6C8718
secondary
#5E40BB
accent
#3BED66
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8718

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

Preview Lab → · Contrast checker → · Palette generator →

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