#6E8518#6E8518

#6E8518 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.131 H 121.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6E8518
RGBrgb(110, 133, 24)
HSLhsl(73, 69%, 31%)
HSVhsv(73, 82%, 52%)
CMYKcmyk(17.3%, 0%, 82%, 47.8%)
CIE-LABlab(52.01, -23.06, 50.97)
CIE-LCHlch(52.01, 55.95, 114.34°)
OKLaboklab(57.85% -0.0683 0.1114)
OKLCHoklch(57.85% 0.131 121.5)
XYZxyz(14.9831, 20.1560, 3.9651)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8518 #2F1885
analogous
#856518 #6E8518 #378518
triadic
#6E8518 #186E85 #85186E
tetradic
#6E8518 #188565 #2F1885 #851837
square
#6E8518 #188565 #2F1885 #851837
split-complementary
#6E8518 #183785 #651885
monochromatic
#181D05 #43510F #6E8518 #99B921 #BADC3C

Accessibility & contrast

On white

4.17
#6E8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6E8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8518
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8518#FFFFFF#000000##000000
##6E85181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#747E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6e8518;
/* rgb */ color: rgb(110, 133, 24);
/* oklch */ color: oklch(57.8% 0.131 121.5);
Tailwind
colors: {
  custom: {
    50: '#9ba860',
    500: '#6e8518',
    950: '#000000',
  },
}
SCSS
$custom: #6e8518;
$custom-light: #9ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8518",
  "rgb": {
    "r": 110,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 72.661,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.13069,
    "h": 121.5
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#6E8518
secondary
#5940B9
accent
#3CEC61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8518

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

Preview Lab → · Contrast checker → · Palette generator →

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