#6C8A38#6C8A38

#6C8A38 is a mid, moderate yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.115 H 126.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6C8A38
RGBrgb(108, 138, 56)
HSLhsl(82, 42%, 38%)
HSVhsv(82, 59%, 54%)
CMYKcmyk(21.7%, 0%, 59.4%, 45.9%)
CIE-LABlab(53.65, -24.23, 39.68)
CIE-LCHlch(53.65, 46.49, 121.41°)
OKLaboklab(59.22% -0.0685 0.0925)
OKLCHoklch(59.22% 0.115 126.5)
XYZxyz(15.9866, 21.6504, 7.0773)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A38 #56388A
analogous
#8A7F38 #6C8A38 #438A38
triadic
#6C8A38 #386C8A #8A386C
tetradic
#6C8A38 #388A7F #56388A #8A3843
square
#6C8A38 #388A7F #56388A #8A3843
split-complementary
#6C8A38 #38438A #7F388A
monochromatic
#283315 #4A5E26 #6C8A38 #8EB54A #A9C775

Accessibility & contrast

On white

3.94
#6C8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6C8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A38
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A38#FFFFFF#000000##000000
##6C8A381.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#708478
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a38;
/* rgb */ color: rgb(108, 138, 56);
/* oklch */ color: oklch(59.2% 0.115 126.5);
Tailwind
colors: {
  custom: {
    50: '#98ac72',
    500: '#6c8a38',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a38;
$custom-light: #98ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a38",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 81.951,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.11512,
    "h": 126.5
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#6C8A38
secondary
#866EB0
accent
#56D283
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1008
muted
#7E7F7B

Preview Lab

Preview with #6C8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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