#6E8115#6E8115

#6E8115 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.127 H 119.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6E8115
RGBrgb(110, 129, 21)
HSLhsl(71, 72%, 29%)
HSVhsv(71, 84%, 51%)
CMYKcmyk(14.7%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.77, -21.15, 50.74)
CIE-LCHlch(50.77, 54.97, 112.62°)
OKLaboklab(56.84% -0.0633 0.1104)
OKLCHoklch(56.84% 0.127 119.8)
XYZxyz(14.4163, 19.0697, 3.6307)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8115 #281581
analogous
#815E15 #6E8115 #388115
triadic
#6E8115 #156E81 #81156E
tetradic
#6E8115 #15815E #281581 #811538
square
#6E8115 #15815E #281581 #811538
split-complementary
#6E8115 #153881 #5E1581
monochromatic
#161A04 #414C0C #6E8115 #9BB61E #C0DE33

Accessibility & contrast

On white

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

On black

4.81
#6E8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8115
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8115#FFFFFF#000000##000000
##6E81151.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e8115;
/* rgb */ color: rgb(110, 129, 21);
/* oklch */ color: oklch(56.8% 0.127 119.8);
Tailwind
colors: {
  custom: {
    50: '#9ba55e',
    500: '#6e8115',
    950: '#000000',
  },
}
SCSS
$custom: #6e8115;
$custom-light: #9ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8115",
  "rgb": {
    "r": 110,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 70.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.12726,
    "h": 119.8
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#6E8115
secondary
#513CB6
accent
#39EF59
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8115

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

Preview Lab → · Contrast checker → · Palette generator →

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