#6E8A18#6E8A18

#6E8A18 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.137 H 123.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6E8A18
RGBrgb(110, 138, 24)
HSLhsl(75, 70%, 32%)
HSVhsv(75, 83%, 54%)
CMYKcmyk(20.3%, 0%, 82.6%, 45.9%)
CIE-LABlab(53.55, -25.56, 52.35)
CIE-LCHlch(53.55, 58.26, 116.02°)
OKLaboklab(59.09% -0.0751 0.1143)
OKLCHoklch(59.09% 0.137 123.3)
XYZxyz(15.6840, 21.5578, 4.1988)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A18 #34188A
analogous
#8A6D18 #6E8A18 #358A18
triadic
#6E8A18 #186E8A #8A186E
tetradic
#6E8A18 #188A6D #34188A #8A1835
square
#6E8A18 #188A6D #34188A #8A1835
split-complementary
#6E8A18 #18358A #6D188A
monochromatic
#1B2206 #44560F #6E8A18 #98BE21 #B7DE3F

Accessibility & contrast

On white

3.95
#6E8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6E8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A18
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A18#FFFFFF#000000##000000
##6E8A181.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#748375
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6e8a18;
/* rgb */ color: rgb(110, 138, 24);
/* oklch */ color: oklch(59.1% 0.137 123.3);
Tailwind
colors: {
  custom: {
    50: '#9bac61',
    500: '#6e8a18',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a18;
$custom-light: #9bac61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a18",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 74.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.13683,
    "h": 123.3
  },
  "luminance": 0.21558
}

Semantic roles & 50–950 ramp

primary
#6E8A18
secondary
#5F40BD
accent
#3BED66
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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