#6C8A24#6C8A24

#6C8A24 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.131 H 124.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6C8A24
RGBrgb(108, 138, 36)
HSLhsl(78, 59%, 34%)
HSVhsv(78, 74%, 54%)
CMYKcmyk(21.7%, 0%, 73.9%, 45.9%)
CIE-LABlab(53.48, -25.79, 48.20)
CIE-LCHlch(53.48, 54.67, 118.15°)
OKLaboklab(59.02% -0.0747 0.1077)
OKLCHoklch(59.02% 0.131 124.7)
XYZxyz(15.5914, 21.4923, 4.9957)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A24 #42248A
analogous
#8A7524 #6C8A24 #398A24
triadic
#6C8A24 #246C8A #8A246C
tetradic
#6C8A24 #248A75 #42248A #8A2439
square
#6C8A24 #248A75 #42248A #8A2439
split-complementary
#6C8A24 #24398A #75248A
monochromatic
#20290B #465917 #6C8A24 #92BB31 #AED356

Accessibility & contrast

On white

3.96
#6C8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6C8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A24
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A24#FFFFFF#000000##000000
##6C8A241.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a24;
/* rgb */ color: rgb(108, 138, 36);
/* oklch */ color: oklch(59.0% 0.131 124.7);
Tailwind
colors: {
  custom: {
    50: '#99ac66',
    500: '#6c8a24',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a24;
$custom-light: #99ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a24",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 77.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59023,
    "c": 0.13108,
    "h": 124.7
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#6C8A24
secondary
#7053B7
accent
#46E274
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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