#6C8516#6C8516

#6C8516 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.133 H 122.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6C8516
RGBrgb(108, 133, 22)
HSLhsl(74, 72%, 30%)
HSVhsv(74, 83%, 52%)
CMYKcmyk(18.8%, 0%, 83.5%, 47.8%)
CIE-LABlab(51.86, -24.01, 51.37)
CIE-LCHlch(51.86, 56.70, 115.06°)
OKLaboklab(57.69% -0.071 0.112)
OKLCHoklch(57.69% 0.133 122.4)
XYZxyz(14.7169, 20.0211, 3.8480)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8516 #2F1685
analogous
#856716 #6C8516 #348516
triadic
#6C8516 #166C85 #85166C
tetradic
#6C8516 #168567 #2F1685 #851634
square
#6C8516 #168567 #2F1685 #851634
split-complementary
#6C8516 #163485 #671685
monochromatic
#171C05 #41500D #6C8516 #97BA1F #B8DE37

Accessibility & contrast

On white

4.20
#6C8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6C8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8516
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8516#FFFFFF#000000##000000
##6C85161.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#727E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c8516;
/* rgb */ color: rgb(108, 133, 22);
/* oklch */ color: oklch(57.7% 0.133 122.4);
Tailwind
colors: {
  custom: {
    50: '#9aa85f',
    500: '#6c8516',
    950: '#000000',
  },
}
SCSS
$custom: #6c8516;
$custom-light: #9aa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8516",
  "rgb": {
    "r": 108,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 73.514,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.13257,
    "h": 122.4
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#6C8516
secondary
#593EB9
accent
#39EE62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8516

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

Preview Lab → · Contrast checker → · Palette generator →

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