#6C8722#6C8722

#6C8722 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.3% C 0.128 H 123.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6C8722
RGBrgb(108, 135, 34)
HSLhsl(76, 60%, 33%)
HSVhsv(76, 75%, 53%)
CMYKcmyk(20%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.54, -24.42, 48.03)
CIE-LCHlch(52.54, 53.89, 116.95°)
OKLaboklab(58.26% -0.0711 0.107)
OKLCHoklch(58.26% 0.128 123.6)
XYZxyz(15.1372, 20.6315, 4.6979)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8722 #3D2287
analogous
#876F22 #6C8722 #398722
triadic
#6C8722 #226C87 #87226C
tetradic
#6C8722 #22876F #3D2287 #872239
square
#6C8722 #22876F #3D2287 #872239
split-complementary
#6C8722 #223987 #6F2287
monochromatic
#1E2509 #455616 #6C8722 #93B82E #B0D350

Accessibility & contrast

On white

4.10
#6C8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6C8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8722
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8722#FFFFFF#000000##000000
##6C87221.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0F
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#728074
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6c8722;
/* rgb */ color: rgb(108, 135, 34);
/* oklch */ color: oklch(58.3% 0.128 123.6);
Tailwind
colors: {
  custom: {
    50: '#99aa65',
    500: '#6c8722',
    950: '#000000',
  },
}
SCSS
$custom: #6c8722;
$custom-light: #99aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8722",
  "rgb": {
    "r": 108,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 76.04,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.12849,
    "h": 123.6
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#6C8722
secondary
#6A4EB7
accent
#45E36F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8722

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

Preview Lab → · Contrast checker → · Palette generator →

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