#6B8616#6B8616

#6B8616 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.9% C 0.134 H 123.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6B8616
RGBrgb(107, 134, 22)
HSLhsl(74, 72%, 31%)
HSVhsv(74, 84%, 53%)
CMYKcmyk(20.1%, 0%, 83.6%, 47.5%)
CIE-LABlab(52.10, -24.95, 51.55)
CIE-LCHlch(52.10, 57.27, 115.82°)
OKLaboklab(57.86% -0.0734 0.1124)
OKLCHoklch(57.86% 0.134 123.2)
XYZxyz(14.7335, 20.2338, 3.8882)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8616 #311686
analogous
#866916 #6B8616 #338616
triadic
#6B8616 #166B86 #86166B
tetradic
#6B8616 #168669 #311686 #861633
square
#6B8616 #168669 #311686 #861633
split-complementary
#6B8616 #163386 #691686
monochromatic
#171D05 #41510D #6B8616 #95BB1F #B6DE38

Accessibility & contrast

On white

4.16
#6B8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6B8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8616
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8616#FFFFFF#000000##000000
##6B86161.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#717F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6b8616;
/* rgb */ color: rgb(107, 134, 22);
/* oklch */ color: oklch(57.9% 0.134 123.2);
Tailwind
colors: {
  custom: {
    50: '#99a95f',
    500: '#6b8616',
    950: '#000000',
  },
}
SCSS
$custom: #6b8616;
$custom-light: #99a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8616",
  "rgb": {
    "r": 107,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 74.464,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.13427,
    "h": 123.2
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#6B8616
secondary
#5C3EBA
accent
#39EF65
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8616

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

Preview Lab → · Contrast checker → · Palette generator →

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