#6E8B18#6E8B18

#6E8B18 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.138 H 123.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6E8B18
RGBrgb(110, 139, 24)
HSLhsl(75, 71%, 32%)
HSVhsv(75, 83%, 55%)
CMYKcmyk(20.9%, 0%, 82.7%, 45.5%)
CIE-LABlab(53.86, -26.05, 52.63)
CIE-LCHlch(53.86, 58.72, 116.33°)
OKLaboklab(59.34% -0.0765 0.1149)
OKLCHoklch(59.34% 0.138 123.6)
XYZxyz(15.8281, 21.8461, 4.2468)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8B18 #35188B
analogous
#8B6E18 #6E8B18 #358B18
triadic
#6E8B18 #186E8B #8B186E
tetradic
#6E8B18 #188B6E #35188B #8B1835
square
#6E8B18 #188B6E #35188B #8B1835
split-complementary
#6E8B18 #18358B #6E188B
monochromatic
#1B2306 #45570F #6E8B18 #97BF21 #B6DE3F

Accessibility & contrast

On white

3.91
#6E8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6E8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8B18
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8B18#FFFFFF#000000##000000
##6E8B181.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#748476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6e8b18;
/* rgb */ color: rgb(110, 139, 24);
/* oklch */ color: oklch(59.3% 0.138 123.6);
Tailwind
colors: {
  custom: {
    50: '#9bad61',
    500: '#6e8b18',
    950: '#000000',
  },
}
SCSS
$custom: #6e8b18;
$custom-light: #9bad61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8b18",
  "rgb": {
    "r": 110,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 75.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.13806,
    "h": 123.6
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

primary
#6E8B18
secondary
#6040BE
accent
#3AED68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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