#6E871C#6E871C

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

Color values

HEX#6E871C
RGBrgb(110, 135, 28)
HSLhsl(74, 66%, 32%)
HSVhsv(74, 79%, 53%)
CMYKcmyk(18.5%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.65, -23.89, 50.29)
CIE-LCHlch(52.65, 55.67, 115.41°)
OKLaboklab(58.37% -0.0703 0.1107)
OKLCHoklch(58.37% 0.131 122.4)
XYZxyz(15.3042, 20.7267, 4.2928)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E871C #351C87
analogous
#876B1C #6E871C #38871C
triadic
#6E871C #1C6E87 #871C6E
tetradic
#6E871C #1C876B #351C87 #871C38
square
#6E871C #1C876B #351C87 #871C38
split-complementary
#6E871C #1C3887 #6B1C87
monochromatic
#1B2207 #455411 #6E871C #97BA27 #B6D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6e871c;
/* rgb */ color: rgb(110, 135, 28);
/* oklch */ color: oklch(58.4% 0.131 122.4);
Tailwind
colors: {
  custom: {
    50: '#9baa62',
    500: '#6e871c',
    950: '#000000',
  },
}
SCSS
$custom: #6e871c;
$custom-light: #9baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6e871c",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 74.019,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.1311,
    "h": 122.4
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#6E871C
secondary
#6045BA
accent
#3FE967
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6E871C

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

Preview Lab → · Contrast checker → · Palette generator →

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