#6C8D21#6C8D21

#6C8D21 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.8% C 0.137 H 125.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6C8D21
RGBrgb(108, 141, 33)
HSLhsl(78, 62%, 34%)
HSVhsv(78, 77%, 55%)
CMYKcmyk(23.4%, 0%, 76.6%, 44.7%)
CIE-LABlab(54.39, -27.44, 50.18)
CIE-LCHlch(54.39, 57.19, 118.67°)
OKLaboklab(59.75% -0.0795 0.1114)
OKLCHoklch(59.75% 0.137 125.5)
XYZxyz(15.9838, 22.3475, 4.9099)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D21 #42218D
analogous
#8D7821 #6C8D21 #368D21
triadic
#6C8D21 #216C8D #8D216C
tetradic
#6C8D21 #218D78 #42218D #8D2136
square
#6C8D21 #218D78 #42218D #8D2136
split-complementary
#6C8D21 #21368D #78218D
monochromatic
#202A0A #465B15 #6C8D21 #92BF2D #AED652

Accessibility & contrast

On white

3.84
#6C8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6C8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D21
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D21#FFFFFF#000000##000000
##6C8D211.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958309
Deuteranopia (green-blind)
#90822B
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d21;
/* rgb */ color: rgb(108, 141, 33);
/* oklch */ color: oklch(59.8% 0.137 125.5);
Tailwind
colors: {
  custom: {
    50: '#99ae65',
    500: '#6c8d21',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d21;
$custom-light: #99ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d21",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 78.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.1368,
    "h": 125.5
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#6C8D21
secondary
#7050BA
accent
#43E574
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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