#6C8A1B#6C8A1B

#6C8A1B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.136 H 124.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C8A1B
RGBrgb(108, 138, 27)
HSLhsl(76, 67%, 32%)
HSVhsv(76, 80%, 54%)
CMYKcmyk(21.7%, 0%, 80.4%, 45.9%)
CIE-LABlab(53.43, -26.28, 51.28)
CIE-LCHlch(53.43, 57.62, 117.13°)
OKLaboklab(58.96% -0.0768 0.1127)
OKLCHoklch(58.96% 0.136 124.3)
XYZxyz(15.4708, 21.4441, 4.3608)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A1B #391B8A
analogous
#8A701B #6C8A1B #358A1B
triadic
#6C8A1B #1B6C8A #8A1B6C
tetradic
#6C8A1B #1B8A70 #391B8A #8A1B35
square
#6C8A1B #1B8A70 #391B8A #8A1B35
split-complementary
#6C8A1B #1B358A #701B8A
monochromatic
#1C2407 #445711 #6C8A1B #94BD25 #B2DB45

Accessibility & contrast

On white

3.97
#6C8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6C8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A1B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A1B#FFFFFF#000000##000000
##6C8A1B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a1b;
/* rgb */ color: rgb(108, 138, 27);
/* oklch */ color: oklch(59.0% 0.136 124.3);
Tailwind
colors: {
  custom: {
    50: '#9aac62',
    500: '#6c8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a1b;
$custom-light: #9aac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a1b",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 76.216,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.13632,
    "h": 124.3
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#6C8A1B
secondary
#6545BC
accent
#3EEA6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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