#6C8F15#6C8F15

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

Color values

HEX#6C8F15
RGBrgb(108, 143, 21)
HSLhsl(77, 74%, 32%)
HSVhsv(77, 85%, 56%)
CMYKcmyk(24.5%, 0%, 85.3%, 43.9%)
CIE-LABlab(54.96, -28.95, 54.35)
CIE-LCHlch(54.96, 61.58, 118.04°)
OKLaboklab(60.19% -0.0844 0.1182)
OKLCHoklch(60.19% 0.145 125.5)
XYZxyz(16.1423, 22.8870, 4.2765)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F15 #38158F
analogous
#8F7515 #6C8F15 #2F8F15
triadic
#6C8F15 #156C8F #8F156C
tetradic
#6C8F15 #158F75 #38158F #8F152F
square
#6C8F15 #158F75 #38158F #8F152F
split-complementary
#6C8F15 #152F8F #75158F
monochromatic
#1B2405 #445A0D #6C8F15 #94C41D #B3E23C

Accessibility & contrast

On white

3.77
#6C8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8F15#FFFFFF#000000##000000
##6C8F151.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#718879
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f15;
/* rgb */ color: rgb(108, 143, 21);
/* oklch */ color: oklch(60.2% 0.145 125.5);
Tailwind
colors: {
  custom: {
    50: '#9ab060',
    500: '#6c8f15',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f15;
$custom-light: #9ab060;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f15",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 77.213,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.14524,
    "h": 125.5
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#6C8F15
secondary
#643EC2
accent
#37F16C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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