#6E8112#6E8112

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

Color values

HEX#6E8112
RGBrgb(110, 129, 18)
HSLhsl(70, 76%, 29%)
HSVhsv(70, 86%, 51%)
CMYKcmyk(14.7%, 0%, 86%, 49.4%)
CIE-LABlab(50.76, -21.25, 51.55)
CIE-LCHlch(50.76, 55.76, 112.41°)
OKLaboklab(56.83% -0.0638 0.1116)
OKLCHoklch(56.83% 0.129 119.8)
XYZxyz(14.3902, 19.0593, 3.4929)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8112 #251281
analogous
#815D12 #6E8112 #378112
triadic
#6E8112 #126E81 #81126E
tetradic
#6E8112 #12815D #251281 #811237
square
#6E8112 #12815D #251281 #811237
split-complementary
#6E8112 #123781 #5D1281
monochromatic
#171B04 #404B0B #6E8112 #9CB719 #C2E22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8112#FFFFFF#000000##000000
##6E81121.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)
#88791F
Tritanopia (blue-blind)
#757A6D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6e8112;
/* rgb */ color: rgb(110, 129, 18);
/* oklch */ color: oklch(56.8% 0.129 119.8);
Tailwind
colors: {
  custom: {
    50: '#9ba55d',
    500: '#6e8112',
    950: '#000000',
  },
}
SCSS
$custom: #6e8112;
$custom-light: #9ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8112",
  "rgb": {
    "r": 110,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 70.27,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.12855,
    "h": 119.8
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#6E8112
secondary
#4E38B7
accent
#36F256
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E8112

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

Preview Lab → · Contrast checker → · Palette generator →

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