#6E8015#6E8015

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

Color values

HEX#6E8015
RGBrgb(110, 128, 21)
HSLhsl(70, 72%, 29%)
HSVhsv(70, 84%, 50%)
CMYKcmyk(14.1%, 0%, 83.6%, 49.8%)
CIE-LABlab(50.46, -20.63, 50.47)
CIE-LCHlch(50.46, 54.53, 112.23°)
OKLaboklab(56.59% -0.0619 0.1098)
OKLCHoklch(56.59% 0.126 119.4)
XYZxyz(14.2853, 18.8076, 3.5870)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8015 #271580
analogous
#805D15 #6E8015 #398015
triadic
#6E8015 #156E80 #80156E
tetradic
#6E8015 #15805D #271580 #801539
square
#6E8015 #15805D #271580 #801539
split-complementary
#6E8015 #153980 #5D1580
monochromatic
#171A04 #414B0C #6E8015 #9BB51E #C1DD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8015#FFFFFF#000000##000000
##6E80151.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)
#877820
Tritanopia (blue-blind)
#75796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6e8015;
/* rgb */ color: rgb(110, 128, 21);
/* oklch */ color: oklch(56.6% 0.126 119.4);
Tailwind
colors: {
  custom: {
    50: '#9ba45e',
    500: '#6e8015',
    950: '#000000',
  },
}
SCSS
$custom: #6e8015;
$custom-light: #9ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8015",
  "rgb": {
    "r": 110,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 70.093,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.12606,
    "h": 119.4
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#6E8015
secondary
#503CB5
accent
#39EF58
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8015

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

Preview Lab → · Contrast checker → · Palette generator →

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