#6C8013#6C8013

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

Color values

HEX#6C8013
RGBrgb(108, 128, 19)
HSLhsl(71, 74%, 29%)
HSVhsv(71, 85%, 50%)
CMYKcmyk(15.6%, 0%, 85.2%, 49.8%)
CIE-LABlab(50.30, -21.60, 50.84)
CIE-LCHlch(50.30, 55.23, 113.02°)
OKLaboklab(56.42% -0.0646 0.1103)
OKLCHoklch(56.42% 0.128 120.3)
XYZxyz(14.0213, 18.6736, 3.4817)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8013 #271380
analogous
#805E13 #6C8013 #368013
triadic
#6C8013 #136C80 #80136C
tetradic
#6C8013 #13805E #271380 #801336
square
#6C8013 #13805E #271380 #801336
split-complementary
#6C8013 #133680 #5E1380
monochromatic
#161B04 #3F4B0B #6C8013 #99B51B #BFE02D

Accessibility & contrast

On white

4.44
#6C8013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6C8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8013
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8013#FFFFFF#000000##000000
##6C80131.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8013;
/* rgb */ color: rgb(108, 128, 19);
/* oklch */ color: oklch(56.4% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#9aa45d',
    500: '#6c8013',
    950: '#000000',
  },
}
SCSS
$custom: #6c8013;
$custom-light: #9aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8013",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 71.009,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.12782,
    "h": 120.3
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#6C8013
secondary
#5039B5
accent
#37F159
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8013

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

Preview Lab → · Contrast checker → · Palette generator →

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