#6E871E#6E871E

#6E871E is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.4% C 0.130 H 122.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6E871E
RGBrgb(110, 135, 30)
HSLhsl(74, 64%, 32%)
HSVhsv(74, 78%, 53%)
CMYKcmyk(18.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.66, -23.79, 49.63)
CIE-LCHlch(52.66, 55.03, 115.61°)
OKLaboklab(58.38% -0.0698 0.1096)
OKLCHoklch(58.38% 0.13 122.5)
XYZxyz(15.3289, 20.7366, 4.4230)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E871E #371E87
analogous
#876C1E #6E871E #39871E
triadic
#6E871E #1E6E87 #871E6E
tetradic
#6E871E #1E876C #371E87 #871E39
square
#6E871E #1E876C #371E87 #871E39
split-complementary
#6E871E #1E3987 #6C1E87
monochromatic
#1C2308 #455513 #6E871E #97B929 #B5D749

Accessibility & contrast

On white

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

On black

5.15
#6E871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E871E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E871E#FFFFFF#000000##000000
##6E871E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E05
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#748073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e871e;
/* rgb */ color: rgb(110, 135, 30);
/* oklch */ color: oklch(58.4% 0.130 122.5);
Tailwind
colors: {
  custom: {
    50: '#9baa63',
    500: '#6e871e',
    950: '#000000',
  },
}
SCSS
$custom: #6e871e;
$custom-light: #9baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6e871e",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 74.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.12998,
    "h": 122.5
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#6E871E
secondary
#6348B9
accent
#41E769
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E871E

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

Preview Lab → · Contrast checker → · Palette generator →

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