#6C9017#6C9017

#6C9017 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.5% C 0.146 H 125.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6C9017
RGBrgb(108, 144, 23)
HSLhsl(78, 72%, 33%)
HSVhsv(78, 84%, 56%)
CMYKcmyk(25%, 0%, 84%, 43.5%)
CIE-LABlab(55.27, -29.35, 54.11)
CIE-LCHlch(55.27, 61.56, 118.48°)
OKLaboklab(60.45% -0.0854 0.118)
OKLCHoklch(60.45% 0.146 125.9)
XYZxyz(16.3124, 23.1963, 4.4284)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9017 #3B1790
analogous
#907717 #6C9017 #309017
triadic
#6C9017 #176C90 #90176C
tetradic
#6C9017 #179077 #3B1790 #901730
square
#6C9017 #179077 #3B1790 #901730
split-complementary
#6C9017 #173090 #771790
monochromatic
#1D2606 #445B0F #6C9017 #94C51F #B1E141

Accessibility & contrast

On white

3.72
#6C9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#6C9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9017
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9017#FFFFFF#000000##000000
##6C90171.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#71897A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c9017;
/* rgb */ color: rgb(108, 144, 23);
/* oklch */ color: oklch(60.5% 0.146 125.9);
Tailwind
colors: {
  custom: {
    50: '#9ab061',
    500: '#6c9017',
    950: '#000000',
  },
}
SCSS
$custom: #6c9017;
$custom-light: #9ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9017",
  "rgb": {
    "r": 108,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 77.851,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.14564,
    "h": 125.9
  },
  "luminance": 0.23197
}

Semantic roles & 50–950 ramp

primary
#6C9017
secondary
#6842C1
accent
#39EF6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C9017

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

Preview Lab → · Contrast checker → · Palette generator →

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