#6E871A#6E871A

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

Color values

HEX#6E871A
RGBrgb(110, 135, 26)
HSLhsl(74, 68%, 32%)
HSVhsv(74, 81%, 53%)
CMYKcmyk(18.5%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.64, -23.98, 50.92)
CIE-LCHlch(52.64, 56.29, 115.21°)
OKLaboklab(58.36% -0.0707 0.1117)
OKLCHoklch(58.36% 0.132 122.3)
XYZxyz(15.2811, 20.7175, 4.1709)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E871A #331A87
analogous
#876A1A #6E871A #38871A
triadic
#6E871A #1A6E87 #871A6E
tetradic
#6E871A #1A876A #331A87 #871A38
square
#6E871A #1A876A #331A87 #871A38
split-complementary
#6E871A #1A3887 #6A1A87
monochromatic
#1A2006 #445410 #6E871A #98BA24 #B7DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E871A#FFFFFF#000000##000000
##6E871A1.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)
#8F7E00
Deuteranopia (green-blind)
#8C7E25
Tritanopia (blue-blind)
#748073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e871a;
/* rgb */ color: rgb(110, 135, 26);
/* oklch */ color: oklch(58.4% 0.132 122.3);
Tailwind
colors: {
  custom: {
    50: '#9baa61',
    500: '#6e871a',
    950: '#000000',
  },
}
SCSS
$custom: #6e871a;
$custom-light: #9baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e871a",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 73.761,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58356,
    "c": 0.13215,
    "h": 122.3
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#6E871A
secondary
#5E42BA
accent
#3DEB65
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6E871A

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

Preview Lab → · Contrast checker → · Palette generator →

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