#6C9316#6C9316

#6C9316 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.2% C 0.150 H 126.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6C9316
RGBrgb(108, 147, 22)
HSLhsl(79, 74%, 33%)
HSVhsv(79, 85%, 58%)
CMYKcmyk(26.5%, 0%, 85%, 42.4%)
CIE-LABlab(56.20, -30.81, 55.18)
CIE-LCHlch(56.20, 63.20, 119.18°)
OKLaboklab(61.2% -0.0894 0.1201)
OKLCHoklch(61.2% 0.15 126.7)
XYZxyz(16.7630, 24.1132, 4.5301)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9316 #3D1693
analogous
#937B16 #6C9316 #2D9316
triadic
#6C9316 #166C93 #93166C
tetradic
#6C9316 #16937B #3D1693 #93162D
square
#6C9316 #16937B #3D1693 #93162D
split-complementary
#6C9316 #162D93 #7B1693
monochromatic
#1E2906 #455E0E #6C9316 #93C81E #B0E341

Accessibility & contrast

On white

3.61
#6C9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#6C9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9316
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9316#FFFFFF#000000##000000
##6C93161.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#718C7D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6c9316;
/* rgb */ color: rgb(108, 147, 22);
/* oklch */ color: oklch(61.2% 0.150 126.7);
Tailwind
colors: {
  custom: {
    50: '#9ab361',
    500: '#6c9316',
    950: '#000000',
  },
}
SCSS
$custom: #6c9316;
$custom-light: #9ab361;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9316",
  "rgb": {
    "r": 108,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 78.72,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.14973,
    "h": 126.7
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#6C9316
secondary
#6A42C3
accent
#37F171
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9316

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

Preview Lab → · Contrast checker → · Palette generator →

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