#6D8115#6D8115

#6D8115 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.8% C 0.128 H 120.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6D8115
RGBrgb(109, 129, 21)
HSLhsl(71, 72%, 29%)
HSVhsv(71, 84%, 51%)
CMYKcmyk(15.5%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.69, -21.59, 50.65)
CIE-LCHlch(50.69, 55.06, 113.09°)
OKLaboklab(56.76% -0.0645 0.1102)
OKLCHoklch(56.76% 0.128 120.3)
XYZxyz(14.2926, 19.0059, 3.6249)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8115 #291581
analogous
#815F15 #6D8115 #378115
triadic
#6D8115 #156D81 #81156D
tetradic
#6D8115 #15815F #291581 #811537
square
#6D8115 #15815F #291581 #811537
split-complementary
#6D8115 #153781 #5F1581
monochromatic
#161A04 #414C0C #6D8115 #99B61E #BEDE33

Accessibility & contrast

On white

4.37
#6D8115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6D8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8115
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8115#FFFFFF#000000##000000
##6D81151.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#747A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6d8115;
/* rgb */ color: rgb(109, 129, 21);
/* oklch */ color: oklch(56.8% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#9aa55e',
    500: '#6d8115',
    950: '#000000',
  },
}
SCSS
$custom: #6d8115;
$custom-light: #9aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8115",
  "rgb": {
    "r": 109,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 71.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.1277,
    "h": 120.3
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#6D8115
secondary
#533CB6
accent
#39EF5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8115

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

Preview Lab → · Contrast checker → · Palette generator →

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