#6C831E#6C831E

#6C831E is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.126 H 121.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C831E
RGBrgb(108, 131, 30)
HSLhsl(74, 63%, 32%)
HSVhsv(74, 77%, 51%)
CMYKcmyk(17.6%, 0%, 77.1%, 48.6%)
CIE-LABlab(51.28, -22.64, 48.28)
CIE-LCHlch(51.28, 53.32, 115.12°)
OKLaboklab(57.23% -0.0666 0.1068)
OKLCHoklch(57.23% 0.126 121.9)
XYZxyz(14.5352, 19.5145, 4.2290)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C831E #351E83
analogous
#83681E #6C831E #3A831E
triadic
#6C831E #1E6C83 #831E6C
tetradic
#6C831E #1E8368 #351E83 #831E3A
square
#6C831E #1E8368 #351E83 #831E3A
split-complementary
#6C831E #1E3A83 #681E83
monochromatic
#1A1F07 #435113 #6C831E #95B529 #B4D547

Accessibility & contrast

On white

4.28
#6C831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6C831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C831E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C831E#FFFFFF#000000##000000
##6C831E1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B07
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#727C70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c831e;
/* rgb */ color: rgb(108, 131, 30);
/* oklch */ color: oklch(57.2% 0.126 121.9);
Tailwind
colors: {
  custom: {
    50: '#99a762',
    500: '#6c831e',
    950: '#000000',
  },
}
SCSS
$custom: #6c831e;
$custom-light: #99a762;
$custom-dark: #000000;
JSON
{
  "hex": "#6c831e",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 73.663,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.12587,
    "h": 121.9
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#6C831E
secondary
#6047B6
accent
#42E667
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C831E

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

Preview Lab → · Contrast checker → · Palette generator →

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