#6C812A#6C812A

#6C812A is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.115 H 121.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6C812A
RGBrgb(108, 129, 42)
HSLhsl(74, 51%, 34%)
HSVhsv(74, 67%, 51%)
CMYKcmyk(16.3%, 0%, 67.4%, 49.4%)
CIE-LABlab(50.75, -20.85, 42.96)
CIE-LCHlch(50.75, 47.76, 115.89°)
OKLaboklab(56.83% -0.0605 0.0977)
OKLCHoklch(56.83% 0.115 121.8)
XYZxyz(14.4527, 19.0558, 5.1068)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C812A #3F2A81
analogous
#816A2A #6C812A #40812A
triadic
#6C812A #2A6C81 #812A6C
tetradic
#6C812A #2A816A #3F2A81 #812A40
square
#6C812A #2A816A #3F2A81 #812A40
split-complementary
#6C812A #2A4081 #6A2A81
monochromatic
#1F250C #45531B #6C812A #93AF39 #AFCA5C

Accessibility & contrast

On white

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

On black

4.81
#6C812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C812A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C812A#FFFFFF#000000##000000
##6C812A1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#727A6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c812a;
/* rgb */ color: rgb(108, 129, 42);
/* oklch */ color: oklch(56.8% 0.115 121.8);
Tailwind
colors: {
  custom: {
    50: '#99a568',
    500: '#6c812a',
    950: '#000000',
  },
}
SCSS
$custom: #6c812a;
$custom-light: #99a568;
$custom-dark: #000000;
JSON
{
  "hex": "#6c812a",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 74.483,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.11489,
    "h": 121.8
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#6C812A
secondary
#6D57AF
accent
#4DDA6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C812A

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

Preview Lab → · Contrast checker → · Palette generator →

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