#6C8015#6C8015

#6C8015 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#6C8015
RGBrgb(108, 128, 21)
HSLhsl(71, 72%, 29%)
HSVhsv(71, 84%, 50%)
CMYKcmyk(15.6%, 0%, 83.6%, 49.8%)
CIE-LABlab(50.31, -21.52, 50.28)
CIE-LCHlch(50.31, 54.70, 113.17°)
OKLaboklab(56.43% -0.0642 0.1095)
OKLCHoklch(56.43% 0.127 120.4)
XYZxyz(14.0392, 18.6807, 3.5755)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8015 #291580
analogous
#805F15 #6C8015 #378015
triadic
#6C8015 #156C80 #80156C
tetradic
#6C8015 #15805F #291580 #801537
square
#6C8015 #15805F #291580 #801537
split-complementary
#6C8015 #153780 #5F1580
monochromatic
#161A04 #404B0C #6C8015 #98B51E #BDDD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8015#FFFFFF#000000##000000
##6C80151.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: #6c8015;
/* rgb */ color: rgb(108, 128, 21);
/* oklch */ color: oklch(56.4% 0.127 120.4);
Tailwind
colors: {
  custom: {
    50: '#99a45e',
    500: '#6c8015',
    950: '#000000',
  },
}
SCSS
$custom: #6c8015;
$custom-light: #99a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8015",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 71.215,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.12693,
    "h": 120.4
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#6C8015
secondary
#533CB5
accent
#39EF5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8015

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

Preview Lab → · Contrast checker → · Palette generator →

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