#6C8331#6C8331

#6C8331 is a mid, moderate yellow-green. Relative luminance 0.196; OKLCH L 57.4% C 0.112 H 123.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6C8331
RGBrgb(108, 131, 49)
HSLhsl(77, 46%, 35%)
HSVhsv(77, 63%, 51%)
CMYKcmyk(17.6%, 0%, 62.6%, 48.6%)
CIE-LABlab(51.43, -21.32, 40.52)
CIE-LCHlch(51.43, 45.78, 117.75°)
OKLaboklab(57.4% -0.0611 0.0935)
OKLCHoklch(57.4% 0.112 123.2)
XYZxyz(14.8551, 19.6424, 5.9139)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8331 #483183
analogous
#837131 #6C8331 #438331
triadic
#6C8331 #316C83 #83316C
tetradic
#6C8331 #318371 #483183 #833143
square
#6C8331 #318371 #483183 #833143
split-complementary
#6C8331 #314383 #713183
monochromatic
#232A10 #475620 #6C8331 #91B042 #ACC668

Accessibility & contrast

On white

4.26
#6C8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6C8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8331
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8331#FFFFFF#000000##000000
##6C83311.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#717D72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c8331;
/* rgb */ color: rgb(108, 131, 49);
/* oklch */ color: oklch(57.4% 0.112 123.2);
Tailwind
colors: {
  custom: {
    50: '#98a76d',
    500: '#6c8331',
    950: '#000000',
  },
}
SCSS
$custom: #6c8331;
$custom-light: #98a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8331",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 76.829,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.11167,
    "h": 123.2
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

primary
#6C8331
secondary
#7762AE
accent
#53D577
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C8331

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

Preview Lab → · Contrast checker → · Palette generator →

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