#6C8E16#6C8E16

#6C8E16 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.144 H 125.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C8E16
RGBrgb(108, 142, 22)
HSLhsl(77, 73%, 32%)
HSVhsv(77, 85%, 56%)
CMYKcmyk(23.9%, 0%, 84.5%, 44.3%)
CIE-LABlab(54.65, -28.43, 53.83)
CIE-LCHlch(54.65, 60.87, 117.85°)
OKLaboklab(59.94% -0.083 0.1172)
OKLCHoklch(59.94% 0.144 125.3)
XYZxyz(16.0023, 22.5919, 4.2765)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E16 #38168E
analogous
#8E7416 #6C8E16 #308E16
triadic
#6C8E16 #166C8E #8E166C
tetradic
#6C8E16 #168E74 #38168E #8E1630
square
#6C8E16 #168E74 #38168E #8E1630
split-complementary
#6C8E16 #16308E #74168E
monochromatic
#1B2406 #44590E #6C8E16 #94C31E #B3E13D

Accessibility & contrast

On white

3.81
#6C8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6C8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E16
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E16#FFFFFF#000000##000000
##6C8E161.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e16;
/* rgb */ color: rgb(108, 142, 22);
/* oklch */ color: oklch(59.9% 0.144 125.3);
Tailwind
colors: {
  custom: {
    50: '#9aaf60',
    500: '#6c8e16',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e16;
$custom-light: #9aaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e16",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 77,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.14361,
    "h": 125.3
  },
  "luminance": 0.22592
}

Semantic roles & 50–950 ramp

primary
#6C8E16
secondary
#643FC1
accent
#38F06C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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