#6E8118#6E8118

#6E8118 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.9% C 0.126 H 119.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6E8118
RGBrgb(110, 129, 24)
HSLhsl(71, 69%, 30%)
HSVhsv(71, 81%, 51%)
CMYKcmyk(14.7%, 0%, 81.4%, 49.4%)
CIE-LABlab(50.78, -21.02, 49.86)
CIE-LCHlch(50.78, 54.11, 112.86°)
OKLaboklab(56.86% -0.0628 0.1091)
OKLCHoklch(56.86% 0.126 119.9)
XYZxyz(14.4458, 19.0815, 3.7861)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8118 #2B1881
analogous
#815F18 #6E8118 #3A8118
triadic
#6E8118 #186E81 #81186E
tetradic
#6E8118 #18815F #2B1881 #81183A
square
#6E8118 #18815F #2B1881 #81183A
split-complementary
#6E8118 #183A81 #5F1881
monochromatic
#161A05 #424D0E #6E8118 #9AB522 #BDDA39

Accessibility & contrast

On white

4.36
#6E8118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6E8118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8118
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8118#FFFFFF#000000##000000
##6E81181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#757A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6e8118;
/* rgb */ color: rgb(110, 129, 24);
/* oklch */ color: oklch(56.9% 0.126 119.9);
Tailwind
colors: {
  custom: {
    50: '#9ba55f',
    500: '#6e8118',
    950: '#000000',
  },
}
SCSS
$custom: #6e8118;
$custom-light: #9ba55f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8118",
  "rgb": {
    "r": 110,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 70.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.12582,
    "h": 119.9
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#6E8118
secondary
#5540B5
accent
#3CEB5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8118

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

Preview Lab → · Contrast checker → · Palette generator →

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