#6C8618#6C8618

#6C8618 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.133 H 122.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C8618
RGBrgb(108, 134, 24)
HSLhsl(74, 70%, 31%)
HSVhsv(74, 82%, 53%)
CMYKcmyk(19.4%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.18, -24.43, 51.07)
CIE-LCHlch(52.18, 56.61, 115.57°)
OKLaboklab(57.95% -0.072 0.1117)
OKLCHoklch(57.95% 0.133 122.8)
XYZxyz(14.8745, 20.3042, 3.9995)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8618 #321886
analogous
#866918 #6C8618 #358618
triadic
#6C8618 #186C86 #86186C
tetradic
#6C8618 #188669 #321886 #861835
square
#6C8618 #188669 #321886 #861835
split-complementary
#6C8618 #183586 #691886
monochromatic
#181E05 #42520F #6C8618 #96BA21 #B6DC3C

Accessibility & contrast

On white

4.15
#6C8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6C8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8618
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8618#FFFFFF#000000##000000
##6C86181.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#727F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c8618;
/* rgb */ color: rgb(108, 134, 24);
/* oklch */ color: oklch(57.9% 0.133 122.8);
Tailwind
colors: {
  custom: {
    50: '#9aa960',
    500: '#6c8618',
    950: '#000000',
  },
}
SCSS
$custom: #6c8618;
$custom-light: #9aa960;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8618",
  "rgb": {
    "r": 108,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 74.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.13286,
    "h": 122.8
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#6C8618
secondary
#5D40BA
accent
#3BEC65
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8618

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

Preview Lab → · Contrast checker → · Palette generator →

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