#6C8819#6C8819

#6C8819 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.135 H 123.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6C8819
RGBrgb(108, 136, 25)
HSLhsl(75, 69%, 32%)
HSVhsv(75, 82%, 53%)
CMYKcmyk(20.6%, 0%, 81.6%, 46.7%)
CIE-LABlab(52.80, -25.38, 51.33)
CIE-LCHlch(52.80, 57.26, 116.31°)
OKLaboklab(58.45% -0.0745 0.1124)
OKLCHoklch(58.45% 0.135 123.5)
XYZxyz(15.1642, 20.8665, 4.1483)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8819 #351988
analogous
#886D19 #6C8819 #358819
triadic
#6C8819 #196C88 #88196C
tetradic
#6C8819 #19886D #351988 #881935
square
#6C8819 #19886D #351988 #881935
split-complementary
#6C8819 #193588 #6D1988
monochromatic
#1A2106 #43540F #6C8819 #95BC23 #B4DC40

Accessibility & contrast

On white

4.06
#6C8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6C8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8819
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8819#FFFFFF#000000##000000
##6C88191.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#728174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c8819;
/* rgb */ color: rgb(108, 136, 25);
/* oklch */ color: oklch(58.5% 0.135 123.5);
Tailwind
colors: {
  custom: {
    50: '#9aaa61',
    500: '#6c8819',
    950: '#000000',
  },
}
SCSS
$custom: #6c8819;
$custom-light: #9aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8819",
  "rgb": {
    "r": 108,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 75.135,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.13484,
    "h": 123.5
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#6C8819
secondary
#6041BB
accent
#3CEC68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8819

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

Preview Lab → · Contrast checker → · Palette generator →

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