#6E8718#6E8718

#6E8718 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.3% C 0.133 H 122.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6E8718
RGBrgb(110, 135, 24)
HSLhsl(74, 70%, 31%)
HSVhsv(74, 82%, 53%)
CMYKcmyk(18.5%, 0%, 82.2%, 47.1%)
CIE-LABlab(52.63, -24.07, 51.52)
CIE-LCHlch(52.63, 56.87, 115.04°)
OKLaboklab(58.35% -0.0711 0.1126)
OKLCHoklch(58.35% 0.133 122.3)
XYZxyz(15.2595, 20.7088, 4.0573)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8718 #311887
analogous
#876818 #6E8718 #368718
triadic
#6E8718 #186E87 #87186E
tetradic
#6E8718 #188768 #311887 #871836
square
#6E8718 #188768 #311887 #871836
split-complementary
#6E8718 #183687 #681887
monochromatic
#191F06 #44530F #6E8718 #98BB21 #B9DC3D

Accessibility & contrast

On white

4.08
#6E8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6E8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8718
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8718#FFFFFF#000000##000000
##6E87181.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#748073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e8718;
/* rgb */ color: rgb(110, 135, 24);
/* oklch */ color: oklch(58.3% 0.133 122.3);
Tailwind
colors: {
  custom: {
    50: '#9baa60',
    500: '#6e8718',
    950: '#000000',
  },
}
SCSS
$custom: #6e8718;
$custom-light: #9baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8718",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 73.514,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.13314,
    "h": 122.3
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#6E8718
secondary
#5C40BB
accent
#3BED63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6E8718

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

Preview Lab → · Contrast checker → · Palette generator →

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