#6E871D#6E871D

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

Color values

HEX#6E871D
RGBrgb(110, 135, 29)
HSLhsl(74, 65%, 32%)
HSVhsv(74, 79%, 53%)
CMYKcmyk(18.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.65, -23.84, 49.96)
CIE-LCHlch(52.65, 55.36, 115.51°)
OKLaboklab(58.37% -0.0701 0.1102)
OKLCHoklch(58.37% 0.131 122.5)
XYZxyz(15.3164, 20.7316, 4.3569)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E871D #361D87
analogous
#876B1D #6E871D #39871D
triadic
#6E871D #1D6E87 #871D6E
tetradic
#6E871D #1D876B #361D87 #871D39
square
#6E871D #1D876B #361D87 #871D39
split-complementary
#6E871D #1D3987 #6B1D87
monochromatic
#1C2207 #455512 #6E871D #97B928 #B5D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E871D#FFFFFF#000000##000000
##6E871D1.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)
#8F7E02
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#748073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e871d;
/* rgb */ color: rgb(110, 135, 29);
/* oklch */ color: oklch(58.4% 0.131 122.5);
Tailwind
colors: {
  custom: {
    50: '#9baa62',
    500: '#6e871d',
    950: '#000000',
  },
}
SCSS
$custom: #6e871d;
$custom-light: #9baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6e871d",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 74.151,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.13055,
    "h": 122.5
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#6E871D
secondary
#6246B9
accent
#40E868
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E871D

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

Preview Lab → · Contrast checker → · Palette generator →

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