#6C8227#6C8227

#6C8227 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.1% C 0.119 H 122.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C8227
RGBrgb(108, 130, 39)
HSLhsl(75, 54%, 33%)
HSVhsv(75, 70%, 51%)
CMYKcmyk(16.9%, 0%, 70%, 49%)
CIE-LABlab(51.04, -21.58, 44.54)
CIE-LCHlch(51.04, 49.50, 115.85°)
OKLaboklab(57.05% -0.0628 0.1005)
OKLCHoklch(57.05% 0.119 122)
XYZxyz(14.5334, 19.2999, 4.8787)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8227 #3D2782
analogous
#826A27 #6C8227 #3F8227
triadic
#6C8227 #276C82 #82276C
tetradic
#6C8227 #27826A #3D2782 #82273F
square
#6C8227 #27826A #3D2782 #82273F
split-complementary
#6C8227 #273F82 #6A2782
monochromatic
#1E240B #455319 #6C8227 #93B135 #B0CD57

Accessibility & contrast

On white

4.32
#6C8227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6C8227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8227
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8227#FFFFFF#000000##000000
##6C82271.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#727B70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8227;
/* rgb */ color: rgb(108, 130, 39);
/* oklch */ color: oklch(57.1% 0.119 122.0);
Tailwind
colors: {
  custom: {
    50: '#99a667',
    500: '#6c8227',
    950: '#000000',
  },
}
SCSS
$custom: #6c8227;
$custom-light: #99a667;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8227",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 74.505,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.11854,
    "h": 122
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#6C8227
secondary
#6A53B1
accent
#4BDD6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8227

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

Preview Lab → · Contrast checker → · Palette generator →

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