#6E871F#6E871F

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

Color values

HEX#6E871F
RGBrgb(110, 135, 31)
HSLhsl(74, 63%, 33%)
HSVhsv(74, 77%, 53%)
CMYKcmyk(18.5%, 0%, 77%, 47.1%)
CIE-LABlab(52.67, -23.73, 49.29)
CIE-LCHlch(52.67, 54.70, 115.71°)
OKLaboklab(58.39% -0.0696 0.1091)
OKLCHoklch(58.39% 0.129 122.5)
XYZxyz(15.3419, 20.7418, 4.4914)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E871F #381F87
analogous
#876C1F #6E871F #3A871F
triadic
#6E871F #1F6E87 #871F6E
tetradic
#6E871F #1F876C #381F87 #871F3A
square
#6E871F #1F876C #381F87 #871F3A
split-complementary
#6E871F #1F3A87 #6C1F87
monochromatic
#1D2308 #455514 #6E871F #97B92A #B4D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E871F#FFFFFF#000000##000000
##6E871F1.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)
#8F7E07
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#748073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e871f;
/* rgb */ color: rgb(110, 135, 31);
/* oklch */ color: oklch(58.4% 0.129 122.5);
Tailwind
colors: {
  custom: {
    50: '#9baa63',
    500: '#6e871f',
    950: '#000000',
  },
}
SCSS
$custom: #6e871f;
$custom-light: #9baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6e871f",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 74.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.1294,
    "h": 122.5
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#6E871F
secondary
#644AB8
accent
#42E669
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E871F

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

Preview Lab → · Contrast checker → · Palette generator →

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