#6E8818#6E8818

#6E8818 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.6% C 0.134 H 122.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6E8818
RGBrgb(110, 136, 24)
HSLhsl(74, 70%, 31%)
HSVhsv(74, 82%, 53%)
CMYKcmyk(19.1%, 0%, 82.4%, 46.7%)
CIE-LABlab(52.94, -24.56, 51.80)
CIE-LCHlch(52.94, 57.33, 115.37°)
OKLaboklab(58.6% -0.0724 0.1132)
OKLCHoklch(58.6% 0.134 122.6)
XYZxyz(15.3997, 20.9892, 4.1040)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8818 #321888
analogous
#886A18 #6E8818 #368818
triadic
#6E8818 #186E88 #88186E
tetradic
#6E8818 #18886A #321888 #881836
square
#6E8818 #18886A #321888 #881836
split-complementary
#6E8818 #183688 #6A1888
monochromatic
#1A2006 #44540F #6E8818 #98BC21 #B8DD3E

Accessibility & contrast

On white

4.04
#6E8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6E8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8818
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8818#FFFFFF#000000##000000
##6E88181.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#748174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e8818;
/* rgb */ color: rgb(110, 136, 24);
/* oklch */ color: oklch(58.6% 0.134 122.6);
Tailwind
colors: {
  custom: {
    50: '#9baa60',
    500: '#6e8818',
    950: '#000000',
  },
}
SCSS
$custom: #6e8818;
$custom-light: #9baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8818",
  "rgb": {
    "r": 110,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 73.929,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.13437,
    "h": 122.6
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#6E8818
secondary
#5D40BC
accent
#3BED64
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6E8818

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

Preview Lab → · Contrast checker → · Palette generator →

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