#6C8719#6C8719

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

Color values

HEX#6C8719
RGBrgb(108, 135, 25)
HSLhsl(75, 69%, 31%)
HSVhsv(75, 81%, 53%)
CMYKcmyk(20%, 0%, 81.5%, 47.1%)
CIE-LABlab(52.49, -24.89, 51.05)
CIE-LCHlch(52.49, 56.79, 115.99°)
OKLaboklab(58.2% -0.0731 0.1118)
OKLCHoklch(58.2% 0.134 123.2)
XYZxyz(15.0240, 20.5862, 4.1015)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8719 #341987
analogous
#876B19 #6C8719 #358719
triadic
#6C8719 #196C87 #87196C
tetradic
#6C8719 #19876B #341987 #871935
square
#6C8719 #19876B #341987 #871935
split-complementary
#6C8719 #193587 #6B1987
monochromatic
#192006 #43530F #6C8719 #95BB23 #B5DB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8719#FFFFFF#000000##000000
##6C87191.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: #6c8719;
/* rgb */ color: rgb(108, 135, 25);
/* oklch */ color: oklch(58.2% 0.134 123.2);
Tailwind
colors: {
  custom: {
    50: '#9aaa61',
    500: '#6c8719',
    950: '#000000',
  },
}
SCSS
$custom: #6c8719;
$custom-light: #9aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8719",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 74.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.1336,
    "h": 123.2
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#6C8719
secondary
#5F41BA
accent
#3CEC67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8719

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

Preview Lab → · Contrast checker → · Palette generator →

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