#6C8A1C#6C8A1C

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

Color values

HEX#6C8A1C
RGBrgb(108, 138, 28)
HSLhsl(76, 66%, 33%)
HSVhsv(76, 80%, 54%)
CMYKcmyk(21.7%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.44, -26.23, 50.97)
CIE-LCHlch(53.44, 57.32, 117.23°)
OKLaboklab(58.97% -0.0766 0.1122)
OKLCHoklch(58.97% 0.136 124.3)
XYZxyz(15.4826, 21.4488, 4.4227)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A1C #3A1C8A
analogous
#8A711C #6C8A1C #358A1C
triadic
#6C8A1C #1C6C8A #8A1C6C
tetradic
#6C8A1C #1C8A71 #3A1C8A #8A1C35
square
#6C8A1C #1C8A71 #3A1C8A #8A1C35
split-complementary
#6C8A1C #1C358A #711C8A
monochromatic
#1C2407 #445712 #6C8A1C #94BD26 #B2DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A1C#FFFFFF#000000##000000
##6C8A1C1.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)
#8E7F27
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a1c;
/* rgb */ color: rgb(108, 138, 28);
/* oklch */ color: oklch(59.0% 0.136 124.3);
Tailwind
colors: {
  custom: {
    50: '#9aac62',
    500: '#6c8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a1c;
$custom-light: #9aac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a1c",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 76.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.1358,
    "h": 124.3
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#6C8A1C
secondary
#6646BB
accent
#3FE96D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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