#6C8622#6C8622

#6C8622 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.0% C 0.127 H 123.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6C8622
RGBrgb(108, 134, 34)
HSLhsl(76, 60%, 33%)
HSVhsv(76, 75%, 53%)
CMYKcmyk(19.4%, 0%, 74.6%, 47.5%)
CIE-LABlab(52.23, -23.92, 47.73)
CIE-LCHlch(52.23, 53.39, 116.62°)
OKLaboklab(58.01% -0.0698 0.1064)
OKLCHoklch(58.01% 0.127 123.3)
XYZxyz(14.9983, 20.3537, 4.6516)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8622 #3C2286
analogous
#866E22 #6C8622 #3A8622
triadic
#6C8622 #226C86 #86226C
tetradic
#6C8622 #22866E #3C2286 #86223A
square
#6C8622 #22866E #3C2286 #86223A
split-complementary
#6C8622 #223A86 #6E2286
monochromatic
#1D2409 #455516 #6C8622 #93B72E #B1D350

Accessibility & contrast

On white

4.14
#6C8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6C8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8622
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8622#FFFFFF#000000##000000
##6C86221.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#8B7C2B
Tritanopia (blue-blind)
#727F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6c8622;
/* rgb */ color: rgb(108, 134, 34);
/* oklch */ color: oklch(58.0% 0.127 123.3);
Tailwind
colors: {
  custom: {
    50: '#99a965',
    500: '#6c8622',
    950: '#000000',
  },
}
SCSS
$custom: #6c8622;
$custom-light: #99a965;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8622",
  "rgb": {
    "r": 108,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 75.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.12721,
    "h": 123.3
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#6C8622
secondary
#694EB6
accent
#45E36E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8622

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

Preview Lab → · Contrast checker → · Palette generator →

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