#6C8F24#6C8F24

#6C8F24 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.3% C 0.138 H 126.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6C8F24
RGBrgb(108, 143, 36)
HSLhsl(80, 60%, 35%)
HSVhsv(80, 75%, 56%)
CMYKcmyk(24.5%, 0%, 74.8%, 43.9%)
CIE-LABlab(55.03, -28.23, 49.72)
CIE-LCHlch(55.03, 57.18, 119.59°)
OKLaboklab(60.28% -0.0814 0.1109)
OKLCHoklch(60.28% 0.138 126.3)
XYZxyz(16.3253, 22.9602, 5.2404)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F24 #47248F
analogous
#8F7C24 #6C8F24 #368F24
triadic
#6C8F24 #246C8F #8F246C
tetradic
#6C8F24 #248F7C #47248F #8F2436
square
#6C8F24 #248F7C #47248F #8F2436
split-complementary
#6C8F24 #24368F #7C248F
monochromatic
#222D0B #475E18 #6C8F24 #91C030 #ACD558

Accessibility & contrast

On white

3.76
#6C8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#6C8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F24
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F24#FFFFFF#000000##000000
##6C8F241.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850F
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f24;
/* rgb */ color: rgb(108, 143, 36);
/* oklch */ color: oklch(60.3% 0.138 126.3);
Tailwind
colors: {
  custom: {
    50: '#99b067',
    500: '#6c8f24',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f24;
$custom-light: #99b067;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f24",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 79.626,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.13755,
    "h": 126.3
  },
  "luminance": 0.2296
}

Semantic roles & 50–950 ramp

primary
#6C8F24
secondary
#7655B9
accent
#45E379
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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