#6C8019#6C8019

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

Color values

HEX#6C8019
RGBrgb(108, 128, 25)
HSLhsl(72, 67%, 30%)
HSVhsv(72, 80%, 50%)
CMYKcmyk(15.6%, 0%, 80.5%, 49.8%)
CIE-LABlab(50.33, -21.35, 49.08)
CIE-LCHlch(50.33, 53.52, 113.51°)
OKLaboklab(56.45% -0.0635 0.1076)
OKLCHoklch(56.45% 0.125 120.5)
XYZxyz(14.0793, 18.6967, 3.7866)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8019 #2D1980
analogous
#806019 #6C8019 #398019
triadic
#6C8019 #196C80 #80196C
tetradic
#6C8019 #198060 #2D1980 #801939
square
#6C8019 #198060 #2D1980 #801939
split-complementary
#6C8019 #193980 #601980
monochromatic
#161A05 #414D0F #6C8019 #97B323 #BAD93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8019#FFFFFF#000000##000000
##6C80191.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)
#887800
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#73796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8019;
/* rgb */ color: rgb(108, 128, 25);
/* oklch */ color: oklch(56.5% 0.125 120.5);
Tailwind
colors: {
  custom: {
    50: '#99a460',
    500: '#6c8019',
    950: '#000000',
  },
}
SCSS
$custom: #6c8019;
$custom-light: #99a460;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8019",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 71.65,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.12495,
    "h": 120.5
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#6C8019
secondary
#5741B4
accent
#3EEA5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8019

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

Preview Lab → · Contrast checker → · Palette generator →

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