#6C8C1B#6C8C1B

#6C8C1B is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.5% C 0.139 H 124.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6C8C1B
RGBrgb(108, 140, 27)
HSLhsl(77, 68%, 33%)
HSVhsv(77, 81%, 55%)
CMYKcmyk(22.9%, 0%, 80.7%, 45.1%)
CIE-LABlab(54.05, -27.25, 51.85)
CIE-LCHlch(54.05, 58.58, 117.73°)
OKLaboklab(59.47% -0.0794 0.1139)
OKLCHoklch(59.47% 0.139 124.9)
XYZxyz(15.7604, 22.0233, 4.4573)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8C1B #3B1B8C
analogous
#8C731B #6C8C1B #338C1B
triadic
#6C8C1B #1B6C8C #8C1B6C
tetradic
#6C8C1B #1B8C73 #3B1B8C #8C1B33
square
#6C8C1B #1B8C73 #3B1B8C #8C1B33
split-complementary
#6C8C1B #1B338C #731B8C
monochromatic
#1D2507 #445911 #6C8C1B #94BF25 #B1DB46

Accessibility & contrast

On white

3.89
#6C8C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#6C8C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8C1B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8C1B#FFFFFF#000000##000000
##6C8C1B1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#718577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8c1b;
/* rgb */ color: rgb(108, 140, 27);
/* oklch */ color: oklch(59.5% 0.139 124.9);
Tailwind
colors: {
  custom: {
    50: '#9aad62',
    500: '#6c8c1b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8c1b;
$custom-light: #9aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8c1b",
  "rgb": {
    "r": 108,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 76.991,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.13882,
    "h": 124.9
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#6C8C1B
secondary
#6846BD
accent
#3DEB6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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