#6C8316#6C8316

#6C8316 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.130 H 121.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C8316
RGBrgb(108, 131, 22)
HSLhsl(73, 71%, 30%)
HSVhsv(73, 83%, 51%)
CMYKcmyk(17.6%, 0%, 83.2%, 48.6%)
CIE-LABlab(51.24, -23.01, 50.82)
CIE-LCHlch(51.24, 55.79, 114.36°)
OKLaboklab(57.19% -0.0682 0.1108)
OKLCHoklch(57.19% 0.13 121.6)
XYZxyz(14.4457, 19.4787, 3.7576)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8316 #2D1683
analogous
#836416 #6C8316 #358316
triadic
#6C8316 #166C83 #83166C
tetradic
#6C8316 #168364 #2D1683 #831635
square
#6C8316 #168364 #2D1683 #831635
split-complementary
#6C8316 #163583 #641683
monochromatic
#161A04 #414F0D #6C8316 #97B71F #BADD36

Accessibility & contrast

On white

4.29
#6C8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6C8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8316
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8316#FFFFFF#000000##000000
##6C83161.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#727C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8316;
/* rgb */ color: rgb(108, 131, 22);
/* oklch */ color: oklch(57.2% 0.130 121.6);
Tailwind
colors: {
  custom: {
    50: '#9aa75f',
    500: '#6c8316',
    950: '#000000',
  },
}
SCSS
$custom: #6c8316;
$custom-light: #9aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8316",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 72.661,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.13012,
    "h": 121.6
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#6C8316
secondary
#573DB7
accent
#3AEE60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8316

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

Preview Lab → · Contrast checker → · Palette generator →

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