#6C8E18#6C8E18

#6C8E18 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.143 H 125.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C8E18
RGBrgb(108, 142, 24)
HSLhsl(77, 71%, 33%)
HSVhsv(77, 83%, 56%)
CMYKcmyk(23.9%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.66, -28.35, 53.28)
CIE-LCHlch(54.66, 60.36, 118.02°)
OKLaboklab(59.95% -0.0826 0.1164)
OKLCHoklch(59.95% 0.143 125.4)
XYZxyz(16.0224, 22.5999, 4.3821)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E18 #3A188E
analogous
#8E7518 #6C8E18 #318E18
triadic
#6C8E18 #186C8E #8E186C
tetradic
#6C8E18 #188E75 #3A188E #8E1831
square
#6C8E18 #188E75 #3A188E #8E1831
split-complementary
#6C8E18 #18318E #75188E
monochromatic
#1C2506 #445A0F #6C8E18 #94C221 #B2DF41

Accessibility & contrast

On white

3.80
#6C8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6C8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E18
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E18#FFFFFF#000000##000000
##6C8E181.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e18;
/* rgb */ color: rgb(108, 142, 24);
/* oklch */ color: oklch(60.0% 0.143 125.4);
Tailwind
colors: {
  custom: {
    50: '#9aaf61',
    500: '#6c8e18',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e18;
$custom-light: #9aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e18",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 77.288,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.14274,
    "h": 125.4
  },
  "luminance": 0.226
}

Semantic roles & 50–950 ramp

primary
#6C8E18
secondary
#6642C0
accent
#3AEE6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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