#6C811C#6C811C

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

Color values

HEX#6C811C
RGBrgb(108, 129, 28)
HSLhsl(72, 64%, 31%)
HSVhsv(72, 78%, 51%)
CMYKcmyk(16.3%, 0%, 78.3%, 49.4%)
CIE-LABlab(50.66, -21.72, 48.38)
CIE-LCHlch(50.66, 53.03, 114.18°)
OKLaboklab(56.72% -0.0642 0.1067)
OKLCHoklch(56.72% 0.125 121)
XYZxyz(14.2444, 18.9725, 4.0100)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C811C #311C81
analogous
#81631C #6C811C #39811C
triadic
#6C811C #1C6C81 #811C6C
tetradic
#6C811C #1C8163 #311C81 #811C39
square
#6C811C #1C8163 #311C81 #811C39
split-complementary
#6C811C #1C3981 #631C81
monochromatic
#181C06 #424F11 #6C811C #96B327 #B7D642

Accessibility & contrast

On white

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

On black

4.79
#6C811C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C811C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C811C#FFFFFF#000000##000000
##6C811C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c811c;
/* rgb */ color: rgb(108, 129, 28);
/* oklch */ color: oklch(56.7% 0.125 121.0);
Tailwind
colors: {
  custom: {
    50: '#99a561',
    500: '#6c811c',
    950: '#000000',
  },
}
SCSS
$custom: #6c811c;
$custom-light: #99a561;
$custom-dark: #000000;
JSON
{
  "hex": "#6c811c",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 72.475,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.12454,
    "h": 121
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#6C811C
secondary
#5C44B4
accent
#40E763
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C811C

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

Preview Lab → · Contrast checker → · Palette generator →

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