#6C8A1E#6C8A1E

#6C8A1E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.135 H 124.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C8A1E
RGBrgb(108, 138, 30)
HSLhsl(77, 64%, 33%)
HSVhsv(77, 78%, 54%)
CMYKcmyk(21.7%, 0%, 78.3%, 45.9%)
CIE-LABlab(53.45, -26.13, 50.32)
CIE-LCHlch(53.45, 56.70, 117.44°)
OKLaboklab(58.98% -0.0761 0.1111)
OKLCHoklch(58.98% 0.135 124.4)
XYZxyz(15.5073, 21.4587, 4.5530)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A1E #3C1E8A
analogous
#8A721E #6C8A1E #368A1E
triadic
#6C8A1E #1E6C8A #8A1E6C
tetradic
#6C8A1E #1E8A72 #3C1E8A #8A1E36
square
#6C8A1E #1E8A72 #3C1E8A #8A1E36
split-complementary
#6C8A1E #1E368A #721E8A
monochromatic
#1D2508 #455813 #6C8A1E #93BC29 #B1D84B

Accessibility & contrast

On white

3.97
#6C8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6C8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A1E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A1E#FFFFFF#000000##000000
##6C8A1E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928103
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a1e;
/* rgb */ color: rgb(108, 138, 30);
/* oklch */ color: oklch(59.0% 0.135 124.4);
Tailwind
colors: {
  custom: {
    50: '#99ac63',
    500: '#6c8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a1e;
$custom-light: #99ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a1e",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 76.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.13472,
    "h": 124.4
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#6C8A1E
secondary
#694ABA
accent
#41E76F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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