#6B9316#6B9316

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

Color values

HEX#6B9316
RGBrgb(107, 147, 22)
HSLhsl(79, 74%, 33%)
HSVhsv(79, 85%, 58%)
CMYKcmyk(27.2%, 0%, 85%, 42.4%)
CIE-LABlab(56.14, -31.22, 55.10)
CIE-LCHlch(56.14, 63.33, 119.54°)
OKLaboklab(61.14% -0.0905 0.12)
OKLCHoklch(61.14% 0.15 127)
XYZxyz(16.6420, 24.0508, 4.5244)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9316 #3E1693
analogous
#937C16 #6B9316 #2C9316
triadic
#6B9316 #166B93 #93166B
tetradic
#6B9316 #16937C #3E1693 #93162C
square
#6B9316 #16937C #3E1693 #93162C
split-complementary
#6B9316 #162C93 #7C1693
monochromatic
#1E2906 #445E0E #6B9316 #92C81E #AFE341

Accessibility & contrast

On white

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

On black

5.81
#6B9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9316
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9316#FFFFFF#000000##000000
##6B93161.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b9316;
/* rgb */ color: rgb(107, 147, 22);
/* oklch */ color: oklch(61.1% 0.150 127.0);
Tailwind
colors: {
  custom: {
    50: '#9ab361',
    500: '#6b9316',
    950: '#000000',
  },
}
SCSS
$custom: #6b9316;
$custom-light: #9ab361;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9316",
  "rgb": {
    "r": 107,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 79.2,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.15025,
    "h": 127
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

primary
#6B9316
secondary
#6B42C3
accent
#37F173
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9316

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

Preview Lab → · Contrast checker → · Palette generator →

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