#6D8016#6D8016

#6D8016 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#6D8016
RGBrgb(109, 128, 22)
HSLhsl(71, 71%, 29%)
HSVhsv(71, 83%, 50%)
CMYKcmyk(14.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(50.39, -21.04, 50.09)
CIE-LCHlch(50.39, 54.33, 112.78°)
OKLaboklab(56.52% -0.0629 0.1092)
OKLCHoklch(56.52% 0.126 119.9)
XYZxyz(14.1710, 18.7475, 3.6310)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8016 #291680
analogous
#805E16 #6D8016 #388016
triadic
#6D8016 #166D80 #80166D
tetradic
#6D8016 #16805E #291680 #801638
square
#6D8016 #16805E #291680 #801638
split-complementary
#6D8016 #163880 #5E1680
monochromatic
#161A04 #414C0D #6D8016 #99B41F #BEDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8016#FFFFFF#000000##000000
##6D80161.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)
#867821
Tritanopia (blue-blind)
#74796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6d8016;
/* rgb */ color: rgb(109, 128, 22);
/* oklch */ color: oklch(56.5% 0.126 119.9);
Tailwind
colors: {
  custom: {
    50: '#9aa45e',
    500: '#6d8016',
    950: '#000000',
  },
}
SCSS
$custom: #6d8016;
$custom-light: #9aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8016",
  "rgb": {
    "r": 109,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 70.755,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.12602,
    "h": 119.9
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#6D8016
secondary
#533DB5
accent
#3AED5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8016

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

Preview Lab → · Contrast checker → · Palette generator →

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