#6D8015#6D8015

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

Color values

HEX#6D8015
RGBrgb(109, 128, 21)
HSLhsl(71, 72%, 29%)
HSVhsv(71, 84%, 50%)
CMYKcmyk(14.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(50.39, -21.08, 50.38)
CIE-LCHlch(50.39, 54.61, 112.70°)
OKLaboklab(56.51% -0.0631 0.1097)
OKLCHoklch(56.51% 0.126 119.9)
XYZxyz(14.1615, 18.7438, 3.5812)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8015 #281580
analogous
#805E15 #6D8015 #388015
triadic
#6D8015 #156D80 #80156D
tetradic
#6D8015 #15805E #281580 #801538
square
#6D8015 #15805E #281580 #801538
split-complementary
#6D8015 #153880 #5E1580
monochromatic
#161A04 #404B0C #6D8015 #9AB51E #BFDD32

Accessibility & contrast

On white

4.42
#6D8015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6D8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8015
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8015#FFFFFF#000000##000000
##6D80151.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d8015;
/* rgb */ color: rgb(109, 128, 21);
/* oklch */ color: oklch(56.5% 0.126 119.9);
Tailwind
colors: {
  custom: {
    50: '#9aa45e',
    500: '#6d8015',
    950: '#000000',
  },
}
SCSS
$custom: #6d8015;
$custom-light: #9aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8015",
  "rgb": {
    "r": 109,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 70.654,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.12649,
    "h": 119.9
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#6D8015
secondary
#513CB5
accent
#39EF59
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8015

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

Preview Lab → · Contrast checker → · Palette generator →

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