#6E8018#6E8018

#6E8018 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.6% C 0.125 H 119.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6E8018
RGBrgb(110, 128, 24)
HSLhsl(70, 68%, 30%)
HSVhsv(70, 81%, 50%)
CMYKcmyk(14.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.48, -20.51, 49.59)
CIE-LCHlch(50.48, 53.66, 112.47°)
OKLaboklab(56.61% -0.0613 0.1085)
OKLCHoklch(56.61% 0.125 119.5)
XYZxyz(14.3148, 18.8194, 3.7424)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8018 #2A1880
analogous
#805E18 #6E8018 #3A8018
triadic
#6E8018 #186E80 #80186E
tetradic
#6E8018 #18805E #2A1880 #80183A
square
#6E8018 #18805E #2A1880 #80183A
split-complementary
#6E8018 #183A80 #5E1880
monochromatic
#161A05 #424C0E #6E8018 #9AB422 #BEDA39

Accessibility & contrast

On white

4.41
#6E8018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6E8018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8018
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8018#FFFFFF#000000##000000
##6E80181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#75796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6e8018;
/* rgb */ color: rgb(110, 128, 24);
/* oklch */ color: oklch(56.6% 0.125 119.5);
Tailwind
colors: {
  custom: {
    50: '#9ba45f',
    500: '#6e8018',
    950: '#000000',
  },
}
SCSS
$custom: #6e8018;
$custom-light: #9ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8018",
  "rgb": {
    "r": 110,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 70.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.12461,
    "h": 119.5
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#6E8018
secondary
#5440B4
accent
#3DEB5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8018

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

Preview Lab → · Contrast checker → · Palette generator →

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