#6C8A27#6C8A27

#6C8A27 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.129 H 124.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6C8A27
RGBrgb(108, 138, 39)
HSLhsl(78, 56%, 35%)
HSVhsv(78, 72%, 54%)
CMYKcmyk(21.7%, 0%, 71.7%, 45.9%)
CIE-LABlab(53.50, -25.60, 47.05)
CIE-LCHlch(53.50, 53.57, 118.55°)
OKLaboklab(59.05% -0.0739 0.1058)
OKLCHoklch(59.05% 0.129 124.9)
XYZxyz(15.6391, 21.5114, 5.2473)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A27 #45278A
analogous
#8A7727 #6C8A27 #3B8A27
triadic
#6C8A27 #276C8A #8A276C
tetradic
#6C8A27 #278A77 #45278A #8A273B
square
#6C8A27 #278A77 #45278A #8A273B
split-complementary
#6C8A27 #273B8A #77278A
monochromatic
#212B0C #475A1A #6C8A27 #91BA34 #ADD15B

Accessibility & contrast

On white

3.96
#6C8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6C8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A27
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A27#FFFFFF#000000##000000
##6C8A271.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928117
Deuteranopia (green-blind)
#8E7F2F
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a27;
/* rgb */ color: rgb(108, 138, 39);
/* oklch */ color: oklch(59.0% 0.129 124.9);
Tailwind
colors: {
  custom: {
    50: '#99ac68',
    500: '#6c8a27',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a27;
$custom-light: #99ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a27",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 78.182,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.12905,
    "h": 124.9
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#6C8A27
secondary
#7457B6
accent
#49DF76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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