#6C8A1A#6C8A1A

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

Color values

HEX#6C8A1A
RGBrgb(108, 138, 26)
HSLhsl(76, 68%, 32%)
HSVhsv(76, 81%, 54%)
CMYKcmyk(21.7%, 0%, 81.2%, 45.9%)
CIE-LABlab(53.43, -26.32, 51.59)
CIE-LCHlch(53.43, 57.92, 117.03°)
OKLaboklab(58.96% -0.077 0.1131)
OKLCHoklch(58.96% 0.137 124.2)
XYZxyz(15.4594, 21.4395, 4.3009)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A1A #381A8A
analogous
#8A701A #6C8A1A #348A1A
triadic
#6C8A1A #1A6C8A #8A1A6C
tetradic
#6C8A1A #1A8A70 #381A8A #8A1A34
square
#6C8A1A #1A8A70 #381A8A #8A1A34
split-complementary
#6C8A1A #1A348A #701A8A
monochromatic
#1B2307 #445710 #6C8A1A #94BD24 #B3DC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A1A#FFFFFF#000000##000000
##6C8A1A1.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)
#928100
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a1a;
/* rgb */ color: rgb(108, 138, 26);
/* oklch */ color: oklch(59.0% 0.137 124.2);
Tailwind
colors: {
  custom: {
    50: '#9aac61',
    500: '#6c8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a1a;
$custom-light: #9aac61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a1a",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 76.071,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.13683,
    "h": 124.2
  },
  "luminance": 0.2144
}

Semantic roles & 50–950 ramp

primary
#6C8A1A
secondary
#6443BD
accent
#3DEB6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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