#6C8D16#6C8D16

#6C8D16 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.142 H 125.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C8D16
RGBrgb(108, 141, 22)
HSLhsl(77, 73%, 32%)
HSVhsv(77, 84%, 55%)
CMYKcmyk(23.4%, 0%, 84.4%, 44.7%)
CIE-LABlab(54.34, -27.95, 53.55)
CIE-LCHlch(54.34, 60.41, 117.56°)
OKLaboklab(59.69% -0.0817 0.1166)
OKLCHoklch(59.69% 0.142 125)
XYZxyz(15.8542, 22.2956, 4.2271)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D16 #37168D
analogous
#8D7316 #6C8D16 #308D16
triadic
#6C8D16 #166C8D #8D166C
tetradic
#6C8D16 #168D73 #37168D #8D1630
square
#6C8D16 #168D73 #37168D #8D1630
split-complementary
#6C8D16 #16308D #73168D
monochromatic
#1B2305 #43580E #6C8D16 #95C21E #B3E13D

Accessibility & contrast

On white

3.85
#6C8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6C8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D16
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D16#FFFFFF#000000##000000
##6C8D161.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d16;
/* rgb */ color: rgb(108, 141, 22);
/* oklch */ color: oklch(59.7% 0.142 125.0);
Tailwind
colors: {
  custom: {
    50: '#9aae60',
    500: '#6c8d16',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d16;
$custom-light: #9aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d16",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 76.639,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.14238,
    "h": 125
  },
  "luminance": 0.22296
}

Semantic roles & 50–950 ramp

primary
#6C8D16
secondary
#623EC1
accent
#38F06B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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