#6C8B1C#6C8B1C

#6C8B1C is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.137 H 124.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6C8B1C
RGBrgb(108, 139, 28)
HSLhsl(77, 66%, 33%)
HSVhsv(77, 80%, 55%)
CMYKcmyk(22.3%, 0%, 79.9%, 45.5%)
CIE-LABlab(53.75, -26.72, 51.26)
CIE-LCHlch(53.75, 57.80, 117.53°)
OKLaboklab(59.22% -0.0779 0.1128)
OKLCHoklch(59.22% 0.137 124.6)
XYZxyz(15.6267, 21.7371, 4.4708)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B1C #3B1C8B
analogous
#8B731C #6C8B1C #348B1C
triadic
#6C8B1C #1C6C8B #8B1C6C
tetradic
#6C8B1C #1C8B73 #3B1C8B #8B1C34
square
#6C8B1C #1C8B73 #3B1C8B #8B1C34
split-complementary
#6C8B1C #1C348B #731C8B
monochromatic
#1D2507 #445812 #6C8B1C #94BE26 #B1DA47

Accessibility & contrast

On white

3.93
#6C8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6C8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B1C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B1C#FFFFFF#000000##000000
##6C8B1C1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#718476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8b1c;
/* rgb */ color: rgb(108, 139, 28);
/* oklch */ color: oklch(59.2% 0.137 124.6);
Tailwind
colors: {
  custom: {
    50: '#9aad62',
    500: '#6c8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b1c;
$custom-light: #9aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b1c",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 76.757,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.13706,
    "h": 124.6
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#6C8B1C
secondary
#6847BC
accent
#3EE96E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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