#6C8416#6C8416

#6C8416 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.131 H 122.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6C8416
RGBrgb(108, 132, 22)
HSLhsl(73, 71%, 30%)
HSVhsv(73, 83%, 52%)
CMYKcmyk(18.2%, 0%, 83.3%, 48.2%)
CIE-LABlab(51.55, -23.51, 51.09)
CIE-LCHlch(51.55, 56.24, 114.71°)
OKLaboklab(57.44% -0.0696 0.1114)
OKLCHoklch(57.44% 0.131 122)
XYZxyz(14.5807, 19.7486, 3.8026)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8416 #2E1684
analogous
#846516 #6C8416 #358416
triadic
#6C8416 #166C84 #84166C
tetradic
#6C8416 #168465 #2E1684 #841635
square
#6C8416 #168465 #2E1684 #841635
split-complementary
#6C8416 #163584 #651684
monochromatic
#161B05 #41500D #6C8416 #97B81F #B9DE37

Accessibility & contrast

On white

4.24
#6C8416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6C8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8416
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8416#FFFFFF#000000##000000
##6C84161.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#727D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c8416;
/* rgb */ color: rgb(108, 132, 22);
/* oklch */ color: oklch(57.4% 0.131 122.0);
Tailwind
colors: {
  custom: {
    50: '#9aa75f',
    500: '#6c8416',
    950: '#000000',
  },
}
SCSS
$custom: #6c8416;
$custom-light: #9aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8416",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 73.091,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.13134,
    "h": 122
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#6C8416
secondary
#583DB8
accent
#3AEE61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8416

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

Preview Lab → · Contrast checker → · Palette generator →

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