#6C8E31#6C8E31

#6C8E31 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.1% C 0.127 H 127.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6C8E31
RGBrgb(108, 142, 49)
HSLhsl(82, 49%, 37%)
HSVhsv(82, 65%, 56%)
CMYKcmyk(23.9%, 0%, 65.5%, 44.3%)
CIE-LABlab(54.82, -26.83, 44.21)
CIE-LCHlch(54.82, 51.71, 121.26°)
OKLaboklab(60.14% -0.0764 0.1013)
OKLCHoklch(60.14% 0.127 127)
XYZxyz(16.4117, 22.7556, 6.4328)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E31 #53318E
analogous
#8E8131 #6C8E31 #3E8E31
triadic
#6C8E31 #316C8E #8E316C
tetradic
#6C8E31 #318E81 #53318E #8E313E
square
#6C8E31 #318E81 #53318E #8E313E
split-complementary
#6C8E31 #313E8E #81318E
monochromatic
#273312 #496121 #6C8E31 #8FBB41 #AACD6D

Accessibility & contrast

On white

3.78
#6C8E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6C8E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E31
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E31#FFFFFF#000000##000000
##6C8E311.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958525
Deuteranopia (green-blind)
#908338
Tritanopia (blue-blind)
#70887B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e31;
/* rgb */ color: rgb(108, 142, 49);
/* oklch */ color: oklch(60.1% 0.127 127.0);
Tailwind
colors: {
  custom: {
    50: '#99af6e',
    500: '#6c8e31',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e31;
$custom-light: #99af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e31",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 81.935,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.12684,
    "h": 127
  },
  "luminance": 0.22756
}

Semantic roles & 50–950 ramp

primary
#6C8E31
secondary
#8367B4
accent
#50D882
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8E31

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

Preview Lab → · Contrast checker → · Palette generator →

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