#6C8D18#6C8D18

#6C8D18 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.141 H 125.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C8D18
RGBrgb(108, 141, 24)
HSLhsl(77, 71%, 32%)
HSVhsv(77, 83%, 55%)
CMYKcmyk(23.4%, 0%, 83%, 44.7%)
CIE-LABlab(54.35, -27.87, 53.01)
CIE-LCHlch(54.35, 59.89, 117.73°)
OKLaboklab(59.7% -0.0813 0.1158)
OKLCHoklch(59.7% 0.142 125.1)
XYZxyz(15.8742, 22.3036, 4.3327)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D18 #39188D
analogous
#8D7418 #6C8D18 #328D18
triadic
#6C8D18 #186C8D #8D186C
tetradic
#6C8D18 #188D74 #39188D #8D1832
square
#6C8D18 #188D74 #39188D #8D1832
split-complementary
#6C8D18 #18328D #74188D
monochromatic
#1C2406 #44590F #6C8D18 #94C121 #B2DF41

Accessibility & contrast

On white

3.85
#6C8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6C8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D18
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D18#FFFFFF#000000##000000
##6C8D181.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d18;
/* rgb */ color: rgb(108, 141, 24);
/* oklch */ color: oklch(59.7% 0.141 125.1);
Tailwind
colors: {
  custom: {
    50: '#9aae61',
    500: '#6c8d18',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d18;
$custom-light: #9aae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d18",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 76.923,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.1415,
    "h": 125.1
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#6C8D18
secondary
#6542BF
accent
#3AEE6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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