#6C8223#6C8223

#6C8223 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 57.0% C 0.121 H 121.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C8223
RGBrgb(108, 130, 35)
HSLhsl(74, 58%, 32%)
HSVhsv(74, 73%, 51%)
CMYKcmyk(16.9%, 0%, 73.1%, 49%)
CIE-LABlab(51.01, -21.84, 46.14)
CIE-LCHlch(51.01, 51.04, 115.33°)
OKLaboklab(57.02% -0.0639 0.1032)
OKLCHoklch(57.02% 0.121 121.8)
XYZxyz(14.4706, 19.2747, 4.5478)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8223 #392382
analogous
#826923 #6C8223 #3C8223
triadic
#6C8223 #236C82 #82236C
tetradic
#6C8223 #238269 #392382 #82233C
square
#6C8223 #238269 #392382 #82233C
split-complementary
#6C8223 #233C82 #692382
monochromatic
#1C2209 #445216 #6C8223 #94B230 #B2D050

Accessibility & contrast

On white

4.33
#6C8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8223#FFFFFF#000000##000000
##6C82231.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8223;
/* rgb */ color: rgb(108, 130, 35);
/* oklch */ color: oklch(57.0% 0.121 121.8);
Tailwind
colors: {
  custom: {
    50: '#99a665',
    500: '#6c8223',
    950: '#000000',
  },
}
SCSS
$custom: #6c8223;
$custom-light: #99a665;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8223",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 73.895,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.1214,
    "h": 121.8
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#6C8223
secondary
#654DB3
accent
#47E16B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8223

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

Preview Lab → · Contrast checker → · Palette generator →

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