#6C8B1B#6C8B1B

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

Color values

HEX#6C8B1B
RGBrgb(108, 139, 27)
HSLhsl(77, 67%, 33%)
HSVhsv(77, 81%, 55%)
CMYKcmyk(22.3%, 0%, 80.6%, 45.5%)
CIE-LABlab(53.74, -26.77, 51.57)
CIE-LCHlch(53.74, 58.10, 117.43°)
OKLaboklab(59.22% -0.0781 0.1133)
OKLCHoklch(59.22% 0.138 124.6)
XYZxyz(15.6150, 21.7323, 4.4088)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B1B #3A1B8B
analogous
#8B721B #6C8B1B #348B1B
triadic
#6C8B1B #1B6C8B #8B1B6C
tetradic
#6C8B1B #1B8B72 #3A1B8B #8B1B34
square
#6C8B1B #1B8B72 #3A1B8B #8B1B34
split-complementary
#6C8B1B #1B348B #721B8B
monochromatic
#1C2507 #445811 #6C8B1B #94BE25 #B2DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8B1B#FFFFFF#000000##000000
##6C8B1B1.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: #6c8b1b;
/* rgb */ color: rgb(108, 139, 27);
/* oklch */ color: oklch(59.2% 0.138 124.6);
Tailwind
colors: {
  custom: {
    50: '#9aad62',
    500: '#6c8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b1b;
$custom-light: #9aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b1b",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 76.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.13757,
    "h": 124.6
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#6C8B1B
secondary
#6645BC
accent
#3DEA6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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