#6C8B1E#6C8B1E

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

Color values

HEX#6C8B1E
RGBrgb(108, 139, 30)
HSLhsl(77, 64%, 33%)
HSVhsv(77, 78%, 55%)
CMYKcmyk(22.3%, 0%, 78.4%, 45.5%)
CIE-LABlab(53.76, -26.62, 50.61)
CIE-LCHlch(53.76, 57.18, 117.74°)
OKLaboklab(59.23% -0.0775 0.1118)
OKLCHoklch(59.23% 0.136 124.7)
XYZxyz(15.6515, 21.7469, 4.6010)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B1E #3D1E8B
analogous
#8B731E #6C8B1E #368B1E
triadic
#6C8B1E #1E6C8B #8B1E6C
tetradic
#6C8B1E #1E8B73 #3D1E8B #8B1E36
square
#6C8B1E #1E8B73 #3D1E8B #8B1E36
split-complementary
#6C8B1E #1E368B #731E8B
monochromatic
#1E2608 #455913 #6C8B1E #93BD29 #B0D84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8B1E#FFFFFF#000000##000000
##6C8B1E1.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)
#938202
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8b1e;
/* rgb */ color: rgb(108, 139, 30);
/* oklch */ color: oklch(59.2% 0.136 124.7);
Tailwind
colors: {
  custom: {
    50: '#9aad63',
    500: '#6c8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b1e;
$custom-light: #9aad63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b1e",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 77.064,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.13598,
    "h": 124.7
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#6C8B1E
secondary
#6A4ABB
accent
#40E770
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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