#6E8918#6E8918

#6E8918 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.136 H 123.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6E8918
RGBrgb(110, 137, 24)
HSLhsl(74, 70%, 32%)
HSVhsv(74, 82%, 54%)
CMYKcmyk(19.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(53.25, -25.06, 52.08)
CIE-LCHlch(53.25, 57.79, 115.70°)
OKLaboklab(58.84% -0.0738 0.1138)
OKLCHoklch(58.84% 0.136 123)
XYZxyz(15.5412, 21.2722, 4.1512)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8918 #331889
analogous
#896C18 #6E8918 #368918
triadic
#6E8918 #186E89 #89186E
tetradic
#6E8918 #18896C #331889 #891836
square
#6E8918 #18896C #331889 #891836
split-complementary
#6E8918 #183689 #6C1889
monochromatic
#1A2106 #44550F #6E8918 #98BD21 #B7DD3E

Accessibility & contrast

On white

4.00
#6E8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6E8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8918
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8918#FFFFFF#000000##000000
##6E89181.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#748275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6e8918;
/* rgb */ color: rgb(110, 137, 24);
/* oklch */ color: oklch(58.8% 0.136 123.0);
Tailwind
colors: {
  custom: {
    50: '#9bab60',
    500: '#6e8918',
    950: '#000000',
  },
}
SCSS
$custom: #6e8918;
$custom-light: #9bab60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8918",
  "rgb": {
    "r": 110,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 74.336,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.13559,
    "h": 123
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#6E8918
secondary
#5E40BD
accent
#3BED65
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8918

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

Preview Lab → · Contrast checker → · Palette generator →

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