#6C812D#6C812D

#6C812D is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.9% C 0.112 H 122.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6C812D
RGBrgb(108, 129, 45)
HSLhsl(75, 48%, 34%)
HSVhsv(75, 65%, 51%)
CMYKcmyk(16.3%, 0%, 65.1%, 49.4%)
CIE-LABlab(50.78, -20.62, 41.65)
CIE-LCHlch(50.78, 46.48, 116.34°)
OKLaboklab(56.86% -0.0596 0.0953)
OKLCHoklch(56.86% 0.112 122)
XYZxyz(14.5084, 19.0781, 5.4002)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C812D #422D81
analogous
#816C2D #6C812D #42812D
triadic
#6C812D #2D6C81 #812D6C
tetradic
#6C812D #2D816C #422D81 #812D42
square
#6C812D #2D816C #422D81 #812D42
split-complementary
#6C812D #2D4281 #6C2D81
monochromatic
#20260D #46541D #6C812D #92AE3D #AEC861

Accessibility & contrast

On white

4.36
#6C812D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6C812D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C812D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C812D#FFFFFF#000000##000000
##6C812D1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897923
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c812d;
/* rgb */ color: rgb(108, 129, 45);
/* oklch */ color: oklch(56.9% 0.112 122.0);
Tailwind
colors: {
  custom: {
    50: '#98a56a',
    500: '#6c812d',
    950: '#000000',
  },
}
SCSS
$custom: #6c812d;
$custom-light: #98a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c812d",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 75,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.11241,
    "h": 122
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#6C812D
secondary
#705CAE
accent
#50D872
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C812D

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

Preview Lab → · Contrast checker → · Palette generator →

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