#6C882B#6C882B

#6C882B is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.6% C 0.123 H 124.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6C882B
RGBrgb(108, 136, 43)
HSLhsl(78, 52%, 35%)
HSVhsv(78, 68%, 53%)
CMYKcmyk(20.6%, 0%, 68.4%, 46.7%)
CIE-LABlab(52.92, -24.33, 44.80)
CIE-LCHlch(52.92, 50.98, 118.50°)
OKLaboklab(58.58% -0.07 0.1017)
OKLCHoklch(58.58% 0.123 124.6)
XYZxyz(15.4247, 20.9707, 5.5202)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C882B #472B88
analogous
#88762B #6C882B #3D882B
triadic
#6C882B #2B6C88 #882B6C
tetradic
#6C882B #2B8876 #472B88 #882B3D
square
#6C882B #2B8876 #472B88 #882B3D
split-complementary
#6C882B #2B3D88 #762B88
monochromatic
#222B0E #475A1C #6C882B #91B63A #ACCD61

Accessibility & contrast

On white

4.04
#6C882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6C882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C882B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C882B#FFFFFF#000000##000000
##6C882B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1E
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#718175
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c882b;
/* rgb */ color: rgb(108, 136, 43);
/* oklch */ color: oklch(58.6% 0.123 124.6);
Tailwind
colors: {
  custom: {
    50: '#99aa6a',
    500: '#6c882b',
    950: '#000000',
  },
}
SCSS
$custom: #6c882b;
$custom-light: #99aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c882b",
  "rgb": {
    "r": 108,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 78.065,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.12346,
    "h": 124.6
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#6C882B
secondary
#765CB3
accent
#4CDB77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C882B

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

Preview Lab → · Contrast checker → · Palette generator →

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