#6C811F#6C811F

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

Color values

HEX#6C811F
RGBrgb(108, 129, 31)
HSLhsl(73, 61%, 31%)
HSVhsv(73, 76%, 51%)
CMYKcmyk(16.3%, 0%, 76%, 49.4%)
CIE-LABlab(50.67, -21.56, 47.33)
CIE-LCHlch(50.67, 52.01, 114.49°)
OKLaboklab(56.74% -0.0635 0.105)
OKLCHoklch(56.74% 0.123 121.2)
XYZxyz(14.2822, 18.9876, 4.2086)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C811F #341F81
analogous
#81651F #6C811F #3B811F
triadic
#6C811F #1F6C81 #811F6C
tetradic
#6C811F #1F8165 #341F81 #811F3B
square
#6C811F #1F8165 #341F81 #811F3B
split-complementary
#6C811F #1F3B81 #651F81
monochromatic
#191E07 #435013 #6C811F #95B22B #B5D347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C811F#FFFFFF#000000##000000
##6C811F1.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)
#89790B
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#727A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c811f;
/* rgb */ color: rgb(108, 129, 31);
/* oklch */ color: oklch(56.7% 0.123 121.2);
Tailwind
colors: {
  custom: {
    50: '#99a562',
    500: '#6c811f',
    950: '#000000',
  },
}
SCSS
$custom: #6c811f;
$custom-light: #99a562;
$custom-dark: #000000;
JSON
{
  "hex": "#6c811f",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 72.857,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56741,
    "c": 0.12274,
    "h": 121.2
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#6C811F
secondary
#5F48B4
accent
#43E466
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C811F

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

Preview Lab → · Contrast checker → · Palette generator →

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