#6C8A28#6C8A28

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

Color values

HEX#6C8A28
RGBrgb(108, 138, 40)
HSLhsl(78, 55%, 35%)
HSVhsv(78, 71%, 54%)
CMYKcmyk(21.7%, 0%, 71%, 45.9%)
CIE-LABlab(53.51, -25.54, 46.66)
CIE-LCHlch(53.51, 53.19, 118.69°)
OKLaboklab(59.05% -0.0736 0.1051)
OKLCHoklch(59.05% 0.128 125)
XYZxyz(15.6559, 21.5181, 5.3357)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A28 #46288A
analogous
#8A7728 #6C8A28 #3B8A28
triadic
#6C8A28 #286C8A #8A286C
tetradic
#6C8A28 #288A77 #46288A #8A283B
square
#6C8A28 #288A77 #46288A #8A283B
split-complementary
#6C8A28 #283B8A #77288A
monochromatic
#222B0C #475B1A #6C8A28 #91B936 #ADD05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A28#FFFFFF#000000##000000
##6C8A281.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)
#928119
Deuteranopia (green-blind)
#8E7F30
Tritanopia (blue-blind)
#718377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a28;
/* rgb */ color: rgb(108, 138, 40);
/* oklch */ color: oklch(59.1% 0.128 125.0);
Tailwind
colors: {
  custom: {
    50: '#99ac68',
    500: '#6c8a28',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a28;
$custom-light: #99ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a28",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 78.367,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.12835,
    "h": 125
  },
  "luminance": 0.21518
}

Semantic roles & 50–950 ramp

primary
#6C8A28
secondary
#7559B5
accent
#49DE77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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