#6C8E1A#6C8E1A

#6C8E1A is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.142 H 125.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C8E1A
RGBrgb(108, 142, 26)
HSLhsl(78, 69%, 33%)
HSVhsv(78, 82%, 56%)
CMYKcmyk(23.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(54.67, -28.27, 52.71)
CIE-LCHlch(54.67, 59.81, 118.20°)
OKLaboklab(59.96% -0.0823 0.1155)
OKLCHoklch(59.96% 0.142 125.5)
XYZxyz(16.0439, 22.6085, 4.4957)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E1A #3C1A8E
analogous
#8E761A #6C8E1A #328E1A
triadic
#6C8E1A #1A6C8E #8E1A6C
tetradic
#6C8E1A #1A8E76 #3C1A8E #8E1A32
square
#6C8E1A #1A8E76 #3C1A8E #8E1A32
split-complementary
#6C8E1A #1A328E #761A8E
monochromatic
#1D2707 #455A11 #6C8E1A #93C223 #B1DD45

Accessibility & contrast

On white

3.80
#6C8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6C8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E1A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E1A#FFFFFF#000000##000000
##6C8E1A1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928227
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e1a;
/* rgb */ color: rgb(108, 142, 26);
/* oklch */ color: oklch(60.0% 0.142 125.5);
Tailwind
colors: {
  custom: {
    50: '#9aaf62',
    500: '#6c8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e1a;
$custom-light: #9aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e1a",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 77.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.14181,
    "h": 125.5
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

primary
#6C8E1A
secondary
#6945BE
accent
#3CEC6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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