#6C811E#6C811E

#6C811E is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.123 H 121.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6C811E
RGBrgb(108, 129, 30)
HSLhsl(73, 62%, 31%)
HSVhsv(73, 77%, 51%)
CMYKcmyk(16.3%, 0%, 76.7%, 49.4%)
CIE-LABlab(50.67, -21.62, 47.69)
CIE-LCHlch(50.67, 52.36, 114.38°)
OKLaboklab(56.73% -0.0638 0.1056)
OKLCHoklch(56.73% 0.123 121.1)
XYZxyz(14.2692, 18.9824, 4.1403)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C811E #331E81
analogous
#81641E #6C811E #3A811E
triadic
#6C811E #1E6C81 #811E6C
tetradic
#6C811E #1E8164 #331E81 #811E3A
square
#6C811E #1E8164 #331E81 #811E3A
split-complementary
#6C811E #1E3A81 #641E81
monochromatic
#191E07 #424F12 #6C811E #96B32A #B6D446

Accessibility & contrast

On white

4.38
#6C811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6C811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C811E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C811E#FFFFFF#000000##000000
##6C811E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897908
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#727A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c811e;
/* rgb */ color: rgb(108, 129, 30);
/* oklch */ color: oklch(56.7% 0.123 121.1);
Tailwind
colors: {
  custom: {
    50: '#99a562',
    500: '#6c811e',
    950: '#000000',
  },
}
SCSS
$custom: #6c811e;
$custom-light: #99a562;
$custom-dark: #000000;
JSON
{
  "hex": "#6c811e",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 72.727,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.12336,
    "h": 121.1
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#6C811E
secondary
#5E47B4
accent
#42E565
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C811E

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

Preview Lab → · Contrast checker → · Palette generator →

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