#6C8D2B#6C8D2B

#6C8D2B is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.130 H 126.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6C8D2B
RGBrgb(108, 141, 43)
HSLhsl(80, 53%, 36%)
HSVhsv(80, 70%, 55%)
CMYKcmyk(23.4%, 0%, 69.5%, 44.7%)
CIE-LABlab(54.46, -26.80, 46.40)
CIE-LCHlch(54.46, 53.59, 120.01°)
OKLaboklab(59.83% -0.0768 0.1051)
OKLCHoklch(59.83% 0.13 126.2)
XYZxyz(16.1453, 22.4121, 5.7604)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D2B #4C2B8D
analogous
#8D7D2B #6C8D2B #3B8D2B
triadic
#6C8D2B #2B6C8D #8D2B6C
tetradic
#6C8D2B #2B8D7D #4C2B8D #8D2B3B
square
#6C8D2B #2B8D7D #4C2B8D #8D2B3B
split-complementary
#6C8D2B #2B3B8D #7D2B8D
monochromatic
#242F0E #485E1D #6C8D2B #90BC39 #ABCF63

Accessibility & contrast

On white

3.83
#6C8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6C8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D2B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D2B#FFFFFF#000000##000000
##6C8D2B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94841D
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#708679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d2b;
/* rgb */ color: rgb(108, 141, 43);
/* oklch */ color: oklch(59.8% 0.130 126.2);
Tailwind
colors: {
  custom: {
    50: '#99ae6a',
    500: '#6c8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d2b;
$custom-light: #99ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d2b",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 80.204,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.13015,
    "h": 126.2
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

primary
#6C8D2B
secondary
#7C5EB6
accent
#4BDD7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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