#6E8017#6E8017

#6E8017 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.6% C 0.125 H 119.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6E8017
RGBrgb(110, 128, 23)
HSLhsl(70, 70%, 30%)
HSVhsv(70, 82%, 50%)
CMYKcmyk(14.1%, 0%, 82%, 49.8%)
CIE-LABlab(50.47, -20.55, 49.89)
CIE-LCHlch(50.47, 53.96, 112.39°)
OKLaboklab(56.6% -0.0615 0.1089)
OKLCHoklch(56.6% 0.125 119.5)
XYZxyz(14.3045, 18.8153, 3.6886)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8017 #291780
analogous
#805E17 #6E8017 #398017
triadic
#6E8017 #176E80 #80176E
tetradic
#6E8017 #17805E #291780 #801739
square
#6E8017 #17805E #291780 #801739
split-complementary
#6E8017 #173980 #5E1780
monochromatic
#161A05 #414C0E #6E8017 #9BB420 #BFDB36

Accessibility & contrast

On white

4.41
#6E8017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6E8017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8017
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8017#FFFFFF#000000##000000
##6E80171.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#75796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6e8017;
/* rgb */ color: rgb(110, 128, 23);
/* oklch */ color: oklch(56.6% 0.125 119.5);
Tailwind
colors: {
  custom: {
    50: '#9ba45f',
    500: '#6e8017',
    950: '#000000',
  },
}
SCSS
$custom: #6e8017;
$custom-light: #9ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8017",
  "rgb": {
    "r": 110,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 70.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.12511,
    "h": 119.5
  },
  "luminance": 0.18815
}

Semantic roles & 50–950 ramp

primary
#6E8017
secondary
#533EB4
accent
#3BEC5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8017

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

Preview Lab → · Contrast checker → · Palette generator →

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