#6C8014#6C8014

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

Color values

HEX#6C8014
RGBrgb(108, 128, 20)
HSLhsl(71, 73%, 29%)
HSVhsv(71, 84%, 50%)
CMYKcmyk(15.6%, 0%, 84.4%, 49.8%)
CIE-LABlab(50.31, -21.56, 50.56)
CIE-LCHlch(50.31, 54.97, 113.09°)
OKLaboklab(56.43% -0.0644 0.1099)
OKLCHoklch(56.43% 0.127 120.4)
XYZxyz(14.0301, 18.6770, 3.5276)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8014 #281480
analogous
#805E14 #6C8014 #368014
triadic
#6C8014 #146C80 #80146C
tetradic
#6C8014 #14805E #281480 #801436
square
#6C8014 #14805E #281480 #801436
split-complementary
#6C8014 #143680 #5E1480
monochromatic
#161A04 #3F4B0C #6C8014 #99B51C #BEDF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8014#FFFFFF#000000##000000
##6C80141.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)
#867820
Tritanopia (blue-blind)
#73796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c8014;
/* rgb */ color: rgb(108, 128, 20);
/* oklch */ color: oklch(56.4% 0.127 120.4);
Tailwind
colors: {
  custom: {
    50: '#9aa45e',
    500: '#6c8014',
    950: '#000000',
  },
}
SCSS
$custom: #6c8014;
$custom-light: #9aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8014",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 71.111,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.12738,
    "h": 120.4
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#6C8014
secondary
#513BB5
accent
#38F05A
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8014

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

Preview Lab → · Contrast checker → · Palette generator →

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