#6C8530#6C8530

#6C8530 is a mid, moderate yellow-green. Relative luminance 0.202; OKLCH L 57.9% C 0.115 H 123.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6C8530
RGBrgb(108, 133, 48)
HSLhsl(78, 47%, 35%)
HSVhsv(78, 64%, 52%)
CMYKcmyk(18.8%, 0%, 63.9%, 47.8%)
CIE-LABlab(52.04, -22.43, 41.65)
CIE-LCHlch(52.04, 47.30, 118.30°)
OKLaboklab(57.88% -0.0643 0.0957)
OKLCHoklch(57.88% 0.115 123.9)
XYZxyz(15.1055, 20.1765, 5.8944)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8530 #493085
analogous
#857330 #6C8530 #418530
triadic
#6C8530 #306C85 #85306C
tetradic
#6C8530 #308573 #493085 #853041
square
#6C8530 #308573 #493085 #853041
split-complementary
#6C8530 #304185 #733085
monochromatic
#232B10 #475820 #6C8530 #91B240 #ACC867

Accessibility & contrast

On white

4.17
#6C8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6C8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8530
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8530#FFFFFF#000000##000000
##6C85301.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D26
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#717F73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c8530;
/* rgb */ color: rgb(108, 133, 48);
/* oklch */ color: oklch(57.9% 0.115 123.9);
Tailwind
colors: {
  custom: {
    50: '#98a86c',
    500: '#6c8530',
    950: '#000000',
  },
}
SCSS
$custom: #6c8530;
$custom-light: #98a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8530",
  "rgb": {
    "r": 108,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 77.647,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.1153,
    "h": 123.9
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#6C8530
secondary
#7861AF
accent
#51D778
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C8530

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

Preview Lab → · Contrast checker → · Palette generator →

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