#6B8E17#6B8E17

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

Color values

HEX#6B8E17
RGBrgb(107, 142, 23)
HSLhsl(78, 72%, 32%)
HSVhsv(78, 84%, 56%)
CMYKcmyk(24.6%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.59, -28.81, 53.48)
CIE-LCHlch(54.59, 60.74, 118.31°)
OKLaboklab(59.88% -0.0839 0.1167)
OKLCHoklch(59.88% 0.144 125.7)
XYZxyz(15.8912, 22.5334, 4.3226)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8E17 #3A178E
analogous
#8E7517 #6B8E17 #308E17
triadic
#6B8E17 #176B8E #8E176B
tetradic
#6B8E17 #178E75 #3A178E #8E1730
square
#6B8E17 #178E75 #3A178E #8E1730
split-complementary
#6B8E17 #17308E #75178E
monochromatic
#1C2506 #43590E #6B8E17 #93C320 #B1E03F

Accessibility & contrast

On white

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

On black

5.51
#6B8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8E17
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8E17#FFFFFF#000000##000000
##6B8E171.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8e17;
/* rgb */ color: rgb(107, 142, 23);
/* oklch */ color: oklch(59.9% 0.144 125.7);
Tailwind
colors: {
  custom: {
    50: '#99af61',
    500: '#6b8e17',
    950: '#000000',
  },
}
SCSS
$custom: #6b8e17;
$custom-light: #99af61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8e17",
  "rgb": {
    "r": 107,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 77.647,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.14369,
    "h": 125.7
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#6B8E17
secondary
#6640C0
accent
#39EF6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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