#6C811B#6C811B

#6C811B 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#6C811B
RGBrgb(108, 129, 27)
HSLhsl(72, 65%, 31%)
HSVhsv(72, 79%, 51%)
CMYKcmyk(16.3%, 0%, 79.1%, 49.4%)
CIE-LABlab(50.65, -21.77, 48.72)
CIE-LCHlch(50.65, 53.36, 114.08°)
OKLaboklab(56.72% -0.0644 0.1072)
OKLCHoklch(56.72% 0.125 121)
XYZxyz(14.2327, 18.9678, 3.9480)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C811B #301B81
analogous
#81631B #6C811B #39811B
triadic
#6C811B #1B6C81 #811B6C
tetradic
#6C811B #1B8163 #301B81 #811B39
square
#6C811B #1B8163 #301B81 #811B39
split-complementary
#6C811B #1B3981 #631B81
monochromatic
#171C06 #424E10 #6C811B #96B426 #B8D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C811B#FFFFFF#000000##000000
##6C811B1.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)
#897901
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#727A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c811b;
/* rgb */ color: rgb(108, 129, 27);
/* oklch */ color: oklch(56.7% 0.125 121.0);
Tailwind
colors: {
  custom: {
    50: '#99a561',
    500: '#6c811b',
    950: '#000000',
  },
}
SCSS
$custom: #6c811b;
$custom-light: #99a561;
$custom-dark: #000000;
JSON
{
  "hex": "#6c811b",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 72.353,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.12511,
    "h": 121
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#6C811B
secondary
#5B43B5
accent
#3FE862
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C811B

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

Preview Lab → · Contrast checker → · Palette generator →

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