#6B8111#6B8111

#6B8111 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.6% C 0.130 H 121.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6B8111
RGBrgb(107, 129, 17)
HSLhsl(72, 77%, 29%)
HSVhsv(72, 87%, 51%)
CMYKcmyk(17.1%, 0%, 86.8%, 49.4%)
CIE-LABlab(50.53, -22.62, 51.52)
CIE-LCHlch(50.53, 56.27, 113.70°)
OKLaboklab(56.59% -0.0674 0.1115)
OKLCHoklch(56.59% 0.13 121.2)
XYZxyz(14.0151, 18.8668, 3.4335)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8111 #271181
analogous
#815F11 #6B8111 #338111
triadic
#6B8111 #116B81 #81116B
tetradic
#6B8111 #11815F #271181 #811133
square
#6B8111 #11815F #271181 #811133
split-complementary
#6B8111 #113381 #5F1181
monochromatic
#161B04 #3E4B0A #6B8111 #98B718 #BEE32A

Accessibility & contrast

On white

4.40
#6B8111 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6B8111 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8111
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8111#FFFFFF#000000##000000
##6B81111.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#727A6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b8111;
/* rgb */ color: rgb(107, 129, 17);
/* oklch */ color: oklch(56.6% 0.130 121.2);
Tailwind
colors: {
  custom: {
    50: '#99a55d',
    500: '#6b8111',
    950: '#000000',
  },
}
SCSS
$custom: #6b8111;
$custom-light: #99a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8111",
  "rgb": {
    "r": 107,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 71.786,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.13029,
    "h": 121.2
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#6B8111
secondary
#5037B7
accent
#35F35A
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8111

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

Preview Lab → · Contrast checker → · Palette generator →

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