#6C8617#6C8617

#6C8617 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.133 H 122.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C8617
RGBrgb(108, 134, 23)
HSLhsl(74, 71%, 31%)
HSVhsv(74, 83%, 53%)
CMYKcmyk(19.4%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.17, -24.47, 51.36)
CIE-LCHlch(52.17, 56.89, 115.48°)
OKLaboklab(57.94% -0.0722 0.1121)
OKLCHoklch(57.94% 0.133 122.8)
XYZxyz(14.8643, 20.3001, 3.9457)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8617 #311786
analogous
#866817 #6C8617 #348617
triadic
#6C8617 #176C86 #86176C
tetradic
#6C8617 #178668 #311786 #861734
square
#6C8617 #178668 #311786 #861734
split-complementary
#6C8617 #173486 #681786
monochromatic
#181E05 #42520E #6C8617 #96BA20 #B7DD3A

Accessibility & contrast

On white

4.15
#6C8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6C8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8617
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8617#FFFFFF#000000##000000
##6C86171.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#727F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c8617;
/* rgb */ color: rgb(108, 134, 23);
/* oklch */ color: oklch(57.9% 0.133 122.8);
Tailwind
colors: {
  custom: {
    50: '#9aa960',
    500: '#6c8617',
    950: '#000000',
  },
}
SCSS
$custom: #6c8617;
$custom-light: #9aa960;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8617",
  "rgb": {
    "r": 108,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 74.054,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.13333,
    "h": 122.8
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#6C8617
secondary
#5C3FBA
accent
#3AED64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8617

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

Preview Lab → · Contrast checker → · Palette generator →

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