#6E871B#6E871B

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

Color values

HEX#6E871B
RGBrgb(110, 135, 27)
HSLhsl(74, 67%, 32%)
HSVhsv(74, 80%, 53%)
CMYKcmyk(18.5%, 0%, 80%, 47.1%)
CIE-LABlab(52.64, -23.93, 50.61)
CIE-LCHlch(52.64, 55.98, 115.31°)
OKLaboklab(58.36% -0.0705 0.1112)
OKLCHoklch(58.36% 0.132 122.4)
XYZxyz(15.2924, 20.7220, 4.2308)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E871B #341B87
analogous
#876A1B #6E871B #38871B
triadic
#6E871B #1B6E87 #871B6E
tetradic
#6E871B #1B876A #341B87 #871B38
square
#6E871B #1B876A #341B87 #871B38
split-complementary
#6E871B #1B3887 #6A1B87
monochromatic
#1B2107 #445411 #6E871B #98BA25 #B7D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6e871b;
/* rgb */ color: rgb(110, 135, 27);
/* oklch */ color: oklch(58.4% 0.132 122.4);
Tailwind
colors: {
  custom: {
    50: '#9baa61',
    500: '#6e871b',
    950: '#000000',
  },
}
SCSS
$custom: #6e871b;
$custom-light: #9baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e871b",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 73.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.13163,
    "h": 122.4
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#6E871B
secondary
#5F44BA
accent
#3EEA66
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6E871B

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

Preview Lab → · Contrast checker → · Palette generator →

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