#6C8D1B#6C8D1B

#6C8D1B is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.140 H 125.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C8D1B
RGBrgb(108, 141, 27)
HSLhsl(77, 68%, 33%)
HSVhsv(77, 81%, 55%)
CMYKcmyk(23.4%, 0%, 80.9%, 44.7%)
CIE-LABlab(54.36, -27.74, 52.13)
CIE-LCHlch(54.36, 59.05, 118.02°)
OKLaboklab(59.72% -0.0808 0.1145)
OKLCHoklch(59.72% 0.14 125.2)
XYZxyz(15.9072, 22.3168, 4.5062)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D1B #3C1B8D
analogous
#8D751B #6C8D1B #338D1B
triadic
#6C8D1B #1B6C8D #8D1B6C
tetradic
#6C8D1B #1B8D75 #3C1B8D #8D1B33
square
#6C8D1B #1B8D75 #3C1B8D #8D1B33
split-complementary
#6C8D1B #1B338D #751B8D
monochromatic
#1D2607 #455A11 #6C8D1B #93C025 #B1DC47

Accessibility & contrast

On white

3.84
#6C8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6C8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D1B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D1B#FFFFFF#000000##000000
##6C8D1B1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d1b;
/* rgb */ color: rgb(108, 141, 27);
/* oklch */ color: oklch(59.7% 0.140 125.2);
Tailwind
colors: {
  custom: {
    50: '#9aae62',
    500: '#6c8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d1b;
$custom-light: #9aae62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d1b",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 77.368,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.14007,
    "h": 125.2
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#6C8D1B
secondary
#6946BD
accent
#3DEB6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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