#6C8F18#6C8F18

#6C8F18 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.2% C 0.144 H 125.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6C8F18
RGBrgb(108, 143, 24)
HSLhsl(78, 71%, 33%)
HSVhsv(78, 83%, 56%)
CMYKcmyk(24.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(54.97, -28.83, 53.56)
CIE-LCHlch(54.97, 60.83, 118.30°)
OKLaboklab(60.2% -0.0839 0.117)
OKLCHoklch(60.2% 0.144 125.7)
XYZxyz(16.1718, 22.8988, 4.4319)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F18 #3B188F
analogous
#8F7618 #6C8F18 #318F18
triadic
#6C8F18 #186C8F #8F186C
tetradic
#6C8F18 #188F76 #3B188F #8F1831
square
#6C8F18 #188F76 #3B188F #8F1831
split-complementary
#6C8F18 #18318F #76188F
monochromatic
#1D2606 #445B0F #6C8F18 #94C321 #B1DF42

Accessibility & contrast

On white

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

On black

5.58
#6C8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F18
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F18#FFFFFF#000000##000000
##6C8F181.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f18;
/* rgb */ color: rgb(108, 143, 24);
/* oklch */ color: oklch(60.2% 0.144 125.7);
Tailwind
colors: {
  custom: {
    50: '#9ab061',
    500: '#6c8f18',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f18;
$custom-light: #9ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f18",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 77.647,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.14397,
    "h": 125.7
  },
  "luminance": 0.22899
}

Semantic roles & 50–950 ramp

primary
#6C8F18
secondary
#6843C0
accent
#3AEE6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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