#6D8816#6D8816

#6D8816 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.136 H 123.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6D8816
RGBrgb(109, 136, 22)
HSLhsl(74, 72%, 31%)
HSVhsv(74, 84%, 53%)
CMYKcmyk(19.9%, 0%, 83.8%, 46.7%)
CIE-LABlab(52.86, -25.08, 52.28)
CIE-LCHlch(52.86, 57.98, 115.63°)
OKLaboklab(58.51% -0.0739 0.1139)
OKLCHoklch(58.51% 0.136 123)
XYZxyz(15.2559, 20.9174, 3.9926)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8816 #311688
analogous
#886A16 #6D8816 #348816
triadic
#6D8816 #166D88 #88166D
tetradic
#6D8816 #16886A #311688 #881634
square
#6D8816 #16886A #311688 #881634
split-complementary
#6D8816 #163488 #6A1688
monochromatic
#191F05 #43530D #6D8816 #97BD1F #B8DF39

Accessibility & contrast

On white

4.05
#6D8816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6D8816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8816
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8816#FFFFFF#000000##000000
##6D88161.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#738174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d8816;
/* rgb */ color: rgb(109, 136, 22);
/* oklch */ color: oklch(58.5% 0.136 123.0);
Tailwind
colors: {
  custom: {
    50: '#9aaa60',
    500: '#6d8816',
    950: '#000000',
  },
}
SCSS
$custom: #6d8816;
$custom-light: #9aaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8816",
  "rgb": {
    "r": 109,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 74.211,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.13576,
    "h": 123
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#6D8816
secondary
#5C3EBC
accent
#39EF64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6D8816

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

Preview Lab → · Contrast checker → · Palette generator →

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