#6E8517#6E8517

#6E8517 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.131 H 121.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6E8517
RGBrgb(110, 133, 23)
HSLhsl(73, 71%, 31%)
HSVhsv(73, 83%, 52%)
CMYKcmyk(17.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(52.01, -23.10, 51.26)
CIE-LCHlch(52.01, 56.23, 114.26°)
OKLaboklab(57.84% -0.0685 0.1119)
OKLCHoklch(57.84% 0.131 121.5)
XYZxyz(14.9729, 20.1519, 3.9114)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8517 #2E1785
analogous
#856517 #6E8517 #378517
triadic
#6E8517 #176E85 #85176E
tetradic
#6E8517 #178565 #2E1785 #851737
square
#6E8517 #178565 #2E1785 #851737
split-complementary
#6E8517 #173785 #651785
monochromatic
#181D05 #43510E #6E8517 #99B920 #BBDD3A

Accessibility & contrast

On white

4.17
#6E8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6E8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8517
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8517#FFFFFF#000000##000000
##6E85171.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#747E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6e8517;
/* rgb */ color: rgb(110, 133, 23);
/* oklch */ color: oklch(57.8% 0.131 121.5);
Tailwind
colors: {
  custom: {
    50: '#9ba85f',
    500: '#6e8517',
    950: '#000000',
  },
}
SCSS
$custom: #6e8517;
$custom-light: #9ba85f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8517",
  "rgb": {
    "r": 110,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 72.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.13117,
    "h": 121.5
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#6E8517
secondary
#583FB9
accent
#3BED60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8517

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

Preview Lab → · Contrast checker → · Palette generator →

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