#6E8D16#6E8D16

#6E8D16 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.141 H 124.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6E8D16
RGBrgb(110, 141, 22)
HSLhsl(76, 73%, 32%)
HSVhsv(76, 84%, 55%)
CMYKcmyk(22%, 0%, 84.4%, 44.7%)
CIE-LABlab(54.47, -27.11, 53.72)
CIE-LCHlch(54.47, 60.17, 116.78°)
OKLaboklab(59.83% -0.0795 0.1169)
OKLCHoklch(59.83% 0.141 124.2)
XYZxyz(16.1003, 22.4225, 4.2387)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D16 #35168D
analogous
#8D7116 #6E8D16 #338D16
triadic
#6E8D16 #166E8D #8D166E
tetradic
#6E8D16 #168D71 #35168D #8D1633
square
#6E8D16 #168D71 #35168D #8D1633
split-complementary
#6E8D16 #16338D #71168D
monochromatic
#1B2305 #45580E #6E8D16 #97C21E #B6E13D

Accessibility & contrast

On white

3.83
#6E8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6E8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D16
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D16#FFFFFF#000000##000000
##6E8D161.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#748678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6e8d16;
/* rgb */ color: rgb(110, 141, 22);
/* oklch */ color: oklch(59.8% 0.141 124.2);
Tailwind
colors: {
  custom: {
    50: '#9bae60',
    500: '#6e8d16',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d16;
$custom-light: #9bae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d16",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 75.63,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59834,
    "c": 0.14139,
    "h": 124.2
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#6E8D16
secondary
#603EC1
accent
#38F068
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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