#6C8E28#6C8E28

#6C8E28 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.1% C 0.134 H 126.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6C8E28
RGBrgb(108, 142, 40)
HSLhsl(80, 56%, 36%)
HSVhsv(80, 72%, 56%)
CMYKcmyk(23.9%, 0%, 71.8%, 44.3%)
CIE-LABlab(54.75, -27.50, 47.91)
CIE-LCHlch(54.75, 55.24, 119.85°)
OKLaboklab(60.06% -0.079 0.1078)
OKLCHoklch(60.06% 0.134 126.3)
XYZxyz(16.2404, 22.6871, 5.5305)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E28 #4A288E
analogous
#8E7D28 #6C8E28 #398E28
triadic
#6C8E28 #286C8E #8E286C
tetradic
#6C8E28 #288E7D #4A288E #8E2839
square
#6C8E28 #288E7D #4A288E #8E2839
split-complementary
#6C8E28 #28398E #7D288E
monochromatic
#232F0D #485E1B #6C8E28 #90BE35 #ABD25F

Accessibility & contrast

On white

3.79
#6C8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6C8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E28
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E28#FFFFFF#000000##000000
##6C8E281.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968417
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#71877A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e28;
/* rgb */ color: rgb(108, 142, 40);
/* oklch */ color: oklch(60.1% 0.134 126.3);
Tailwind
colors: {
  custom: {
    50: '#99af69',
    500: '#6c8e28',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e28;
$custom-light: #99af69;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e28",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 80,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60055,
    "c": 0.13362,
    "h": 126.3
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#6C8E28
secondary
#795BB7
accent
#48DF7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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