#6E8730#6E8730

#6E8730 is a mid, moderate yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.117 H 123.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6E8730
RGBrgb(110, 135, 48)
HSLhsl(77, 48%, 36%)
HSVhsv(77, 64%, 53%)
CMYKcmyk(18.5%, 0%, 64.4%, 47.1%)
CIE-LABlab(52.79, -22.60, 42.51)
CIE-LCHlch(52.79, 48.14, 117.99°)
OKLaboklab(58.53% -0.0649 0.0975)
OKLCHoklch(58.53% 0.117 123.6)
XYZxyz(15.6280, 20.8562, 5.9981)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8730 #493087
analogous
#877430 #6E8730 #428730
triadic
#6E8730 #306E87 #87306E
tetradic
#6E8730 #308774 #493087 #873042
square
#6E8730 #308774 #493087 #873042
split-complementary
#6E8730 #304287 #743087
monochromatic
#242D10 #495A20 #6E8730 #93B440 #ADC968

Accessibility & contrast

On white

4.06
#6E8730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6E8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8730
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8730#FFFFFF#000000##000000
##6E87301.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#738075
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e8730;
/* rgb */ color: rgb(110, 135, 48);
/* oklch */ color: oklch(58.5% 0.117 123.6);
Tailwind
colors: {
  custom: {
    50: '#9aaa6c',
    500: '#6e8730',
    950: '#000000',
  },
}
SCSS
$custom: #6e8730;
$custom-light: #9aaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8730",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 77.241,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.11713,
    "h": 123.6
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#6E8730
secondary
#7962B1
accent
#51D777
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6E8730

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

Preview Lab → · Contrast checker → · Palette generator →

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