#6C811D#6C811D

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

Color values

HEX#6C811D
RGBrgb(108, 129, 29)
HSLhsl(73, 63%, 31%)
HSVhsv(73, 78%, 51%)
CMYKcmyk(16.3%, 0%, 77.5%, 49.4%)
CIE-LABlab(50.66, -21.67, 48.04)
CIE-LCHlch(50.66, 52.70, 114.28°)
OKLaboklab(56.73% -0.064 0.1062)
OKLCHoklch(56.73% 0.124 121.1)
XYZxyz(14.2566, 18.9774, 4.0741)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C811D #321D81
analogous
#81641D #6C811D #3A811D
triadic
#6C811D #1D6C81 #811D6C
tetradic
#6C811D #1D8164 #321D81 #811D3A
square
#6C811D #1D8164 #321D81 #811D3A
split-complementary
#6C811D #1D3A81 #641D81
monochromatic
#181D07 #424F12 #6C811D #96B328 #B6D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C811D#FFFFFF#000000##000000
##6C811D1.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)
#897906
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#727A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c811d;
/* rgb */ color: rgb(108, 129, 29);
/* oklch */ color: oklch(56.7% 0.124 121.1);
Tailwind
colors: {
  custom: {
    50: '#99a561',
    500: '#6c811d',
    950: '#000000',
  },
}
SCSS
$custom: #6c811d;
$custom-light: #99a561;
$custom-dark: #000000;
JSON
{
  "hex": "#6c811d",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 72.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.12396,
    "h": 121.1
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#6C811D
secondary
#5D46B4
accent
#41E664
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C811D

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

Preview Lab → · Contrast checker → · Palette generator →

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