#6E8722#6E8722

#6E8722 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.4% C 0.128 H 122.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6E8722
RGBrgb(110, 135, 34)
HSLhsl(75, 60%, 33%)
HSVhsv(75, 75%, 53%)
CMYKcmyk(18.5%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.68, -23.57, 48.22)
CIE-LCHlch(52.68, 53.67, 116.05°)
OKLaboklab(58.41% -0.0689 0.1074)
OKLCHoklch(58.41% 0.128 122.7)
XYZxyz(15.3833, 20.7584, 4.7094)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8722 #3B2287
analogous
#876D22 #6E8722 #3C8722
triadic
#6E8722 #226E87 #87226E
tetradic
#6E8722 #22876D #3B2287 #87223C
square
#6E8722 #22876D #3B2287 #87223C
split-complementary
#6E8722 #223C87 #6D2287
monochromatic
#1E2509 #465616 #6E8722 #96B82E #B3D350

Accessibility & contrast

On white

4.08
#6E8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6E8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8722
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8722#FFFFFF#000000##000000
##6E87221.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#748074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e8722;
/* rgb */ color: rgb(110, 135, 34);
/* oklch */ color: oklch(58.4% 0.128 122.7);
Tailwind
colors: {
  custom: {
    50: '#9baa65',
    500: '#6e8722',
    950: '#000000',
  },
}
SCSS
$custom: #6e8722;
$custom-light: #9baa65;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8722",
  "rgb": {
    "r": 110,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 74.851,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.12756,
    "h": 122.7
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#6E8722
secondary
#684EB7
accent
#45E36C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8722

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

Preview Lab → · Contrast checker → · Palette generator →

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