#6E8617#6E8617

#6E8617 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.1% C 0.132 H 121.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6E8617
RGBrgb(110, 134, 23)
HSLhsl(73, 71%, 31%)
HSVhsv(73, 83%, 53%)
CMYKcmyk(17.9%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.32, -23.61, 51.54)
CIE-LCHlch(52.32, 56.69, 114.61°)
OKLaboklab(58.09% -0.0699 0.1124)
OKLCHoklch(58.09% 0.132 121.9)
XYZxyz(15.1104, 20.4270, 3.9572)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8617 #2F1786
analogous
#866617 #6E8617 #368617
triadic
#6E8617 #176E86 #86176E
tetradic
#6E8617 #178666 #2F1786 #861736
square
#6E8617 #178666 #2F1786 #861736
split-complementary
#6E8617 #173686 #661786
monochromatic
#181E05 #43520E #6E8617 #99BA20 #BADD3A

Accessibility & contrast

On white

4.13
#6E8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6E8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8617
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8617#FFFFFF#000000##000000
##6E86171.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#747F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6e8617;
/* rgb */ color: rgb(110, 134, 23);
/* oklch */ color: oklch(58.1% 0.132 121.9);
Tailwind
colors: {
  custom: {
    50: '#9ba960',
    500: '#6e8617',
    950: '#000000',
  },
}
SCSS
$custom: #6e8617;
$custom-light: #9ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8617",
  "rgb": {
    "r": 110,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 72.973,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.1324,
    "h": 121.9
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#6E8617
secondary
#593FBA
accent
#3AED61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8617

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

Preview Lab → · Contrast checker → · Palette generator →

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