#6C8C19#6C8C19

#6C8C19 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.5% C 0.140 H 124.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6C8C19
RGBrgb(108, 140, 25)
HSLhsl(77, 70%, 32%)
HSVhsv(77, 82%, 55%)
CMYKcmyk(22.9%, 0%, 82.1%, 45.1%)
CIE-LABlab(54.04, -27.34, 52.45)
CIE-LCHlch(54.04, 59.15, 117.54°)
OKLaboklab(59.46% -0.0798 0.1148)
OKLCHoklch(59.46% 0.14 124.8)
XYZxyz(15.7381, 22.0143, 4.3396)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8C19 #39198C
analogous
#8C7319 #6C8C19 #328C19
triadic
#6C8C19 #196C8C #8C196C
tetradic
#6C8C19 #198C73 #39198C #8C1932
square
#6C8C19 #198C73 #39198C #8C1932
split-complementary
#6C8C19 #19328C #73198C
monochromatic
#1C2406 #445810 #6C8C19 #94C022 #B2DD42

Accessibility & contrast

On white

3.89
#6C8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#6C8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8C19
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8C19#FFFFFF#000000##000000
##6C8C191.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#718577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8c19;
/* rgb */ color: rgb(108, 140, 25);
/* oklch */ color: oklch(59.5% 0.140 124.8);
Tailwind
colors: {
  custom: {
    50: '#9aad61',
    500: '#6c8c19',
    950: '#000000',
  },
}
SCSS
$custom: #6c8c19;
$custom-light: #9aad61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8c19",
  "rgb": {
    "r": 108,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 76.696,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.1398,
    "h": 124.8
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#6C8C19
secondary
#6543BE
accent
#3BED6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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