#6C8018#6C8018

#6C8018 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.125 H 120.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6C8018
RGBrgb(108, 128, 24)
HSLhsl(72, 68%, 30%)
HSVhsv(72, 81%, 50%)
CMYKcmyk(15.6%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.33, -21.40, 49.39)
CIE-LCHlch(50.33, 53.83, 113.42°)
OKLaboklab(56.45% -0.0637 0.1081)
OKLCHoklch(56.45% 0.125 120.5)
XYZxyz(14.0687, 18.6925, 3.7308)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8018 #2C1880
analogous
#806018 #6C8018 #388018
triadic
#6C8018 #186C80 #80186C
tetradic
#6C8018 #188060 #2C1880 #801838
square
#6C8018 #188060 #2C1880 #801838
split-complementary
#6C8018 #183880 #601880
monochromatic
#161A05 #414C0E #6C8018 #97B422 #BBDA39

Accessibility & contrast

On white

4.43
#6C8018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6C8018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8018
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8018#FFFFFF#000000##000000
##6C80181.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#73796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8018;
/* rgb */ color: rgb(108, 128, 24);
/* oklch */ color: oklch(56.4% 0.125 120.5);
Tailwind
colors: {
  custom: {
    50: '#99a45f',
    500: '#6c8018',
    950: '#000000',
  },
}
SCSS
$custom: #6c8018;
$custom-light: #99a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8018",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 71.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.12547,
    "h": 120.5
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#6C8018
secondary
#5640B4
accent
#3DEB5E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8018

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

Preview Lab → · Contrast checker → · Palette generator →

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