#6B8115#6B8115

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

Color values

HEX#6B8115
RGBrgb(107, 129, 21)
HSLhsl(72, 72%, 29%)
HSVhsv(72, 84%, 51%)
CMYKcmyk(17.1%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.55, -22.47, 50.46)
CIE-LCHlch(50.55, 55.24, 114.00°)
OKLaboklab(56.6% -0.0668 0.1099)
OKLCHoklch(56.6% 0.129 121.3)
XYZxyz(14.0493, 18.8805, 3.6135)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8115 #2B1581
analogous
#816115 #6B8115 #358115
triadic
#6B8115 #156B81 #81156B
tetradic
#6B8115 #158161 #2B1581 #811535
square
#6B8115 #158161 #2B1581 #811535
split-complementary
#6B8115 #153581 #611581
monochromatic
#161A04 #3F4C0C #6B8115 #97B61E #BBDE33

Accessibility & contrast

On white

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

On black

4.78
#6B8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8115
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8115#FFFFFF#000000##000000
##6B81151.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#877821
Tritanopia (blue-blind)
#717A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b8115;
/* rgb */ color: rgb(107, 129, 21);
/* oklch */ color: oklch(56.6% 0.129 121.3);
Tailwind
colors: {
  custom: {
    50: '#99a55e',
    500: '#6b8115',
    950: '#000000',
  },
}
SCSS
$custom: #6b8115;
$custom-light: #99a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8115",
  "rgb": {
    "r": 107,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 72.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.1286,
    "h": 121.3
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#6B8115
secondary
#553CB6
accent
#39EF5E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8115

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

Preview Lab → · Contrast checker → · Palette generator →

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