#6E8F17#6E8F17

#6E8F17 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.3% C 0.143 H 124.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6E8F17
RGBrgb(110, 143, 23)
HSLhsl(77, 72%, 33%)
HSVhsv(77, 84%, 56%)
CMYKcmyk(23.1%, 0%, 83.9%, 43.9%)
CIE-LABlab(55.09, -28.04, 54.00)
CIE-LCHlch(55.09, 60.84, 117.44°)
OKLaboklab(60.34% -0.082 0.1177)
OKLCHoklch(60.34% 0.143 124.9)
XYZxyz(16.4077, 23.0216, 4.3896)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8F17 #38178F
analogous
#8F7417 #6E8F17 #328F17
triadic
#6E8F17 #176E8F #8F176E
tetradic
#6E8F17 #178F74 #38178F #8F1732
square
#6E8F17 #178F74 #38178F #8F1732
split-complementary
#6E8F17 #17328F #74178F
monochromatic
#1D2606 #455A0F #6E8F17 #97C41F #B4E040

Accessibility & contrast

On white

3.75
#6E8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#6E8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8F17
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8F17#FFFFFF#000000##000000
##6E8F171.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#74887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6e8f17;
/* rgb */ color: rgb(110, 143, 23);
/* oklch */ color: oklch(60.3% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#9bb061',
    500: '#6e8f17',
    950: '#000000',
  },
}
SCSS
$custom: #6e8f17;
$custom-light: #9bb061;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8f17",
  "rgb": {
    "r": 110,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 76.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6034,
    "c": 0.1434,
    "h": 124.9
  },
  "luminance": 0.23022
}

Semantic roles & 50–950 ramp

primary
#6E8F17
secondary
#6441C1
accent
#39EF6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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