#6D8112#6D8112

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

Color values

HEX#6D8112
RGBrgb(109, 129, 18)
HSLhsl(71, 76%, 29%)
HSVhsv(71, 86%, 51%)
CMYKcmyk(15.5%, 0%, 86%, 49.4%)
CIE-LABlab(50.68, -21.70, 51.46)
CIE-LCHlch(50.68, 55.84, 112.87°)
OKLaboklab(56.75% -0.065 0.1114)
OKLCHoklch(56.75% 0.129 120.2)
XYZxyz(14.2664, 18.9954, 3.4871)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8112 #261281
analogous
#815E12 #6D8112 #368112
triadic
#6D8112 #126D81 #81126D
tetradic
#6D8112 #12815E #261281 #811236
square
#6D8112 #12815E #261281 #811236
split-complementary
#6D8112 #123681 #5E1281
monochromatic
#171B04 #404B0B #6D8112 #9AB719 #C1E22C

Accessibility & contrast

On white

4.38
#6D8112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8112#FFFFFF#000000##000000
##6D81121.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#747A6D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6d8112;
/* rgb */ color: rgb(109, 129, 18);
/* oklch */ color: oklch(56.7% 0.129 120.2);
Tailwind
colors: {
  custom: {
    50: '#9aa55d',
    500: '#6d8112',
    950: '#000000',
  },
}
SCSS
$custom: #6d8112;
$custom-light: #9aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8112",
  "rgb": {
    "r": 109,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 70.811,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56747,
    "c": 0.12899,
    "h": 120.2
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#6D8112
secondary
#4F38B7
accent
#36F258
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8112

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

Preview Lab → · Contrast checker → · Palette generator →

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