#6C8E15#6C8E15

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

Color values

HEX#6C8E15
RGBrgb(108, 142, 21)
HSLhsl(77, 74%, 32%)
HSVhsv(77, 85%, 56%)
CMYKcmyk(23.9%, 0%, 85.2%, 44.3%)
CIE-LABlab(54.65, -28.47, 54.08)
CIE-LCHlch(54.65, 61.12, 117.76°)
OKLaboklab(59.94% -0.0831 0.1176)
OKLCHoklch(59.94% 0.144 125.3)
XYZxyz(15.9929, 22.5881, 4.2267)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E15 #37158E
analogous
#8E7415 #6C8E15 #2F8E15
triadic
#6C8E15 #156C8E #8E156C
tetradic
#6C8E15 #158E74 #37158E #8E152F
square
#6C8E15 #158E74 #37158E #8E152F
split-complementary
#6C8E15 #152F8E #74158E
monochromatic
#1B2305 #43590D #6C8E15 #95C31D #B3E23B

Accessibility & contrast

On white

3.81
#6C8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8E15#FFFFFF#000000##000000
##6C8E151.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8e15;
/* rgb */ color: rgb(108, 142, 21);
/* oklch */ color: oklch(59.9% 0.144 125.3);
Tailwind
colors: {
  custom: {
    50: '#9aaf60',
    500: '#6c8e15',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e15;
$custom-light: #9aaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e15",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 76.86,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.14401,
    "h": 125.3
  },
  "luminance": 0.22588
}

Semantic roles & 50–950 ramp

primary
#6C8E15
secondary
#623DC2
accent
#37F16B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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