#6D8012#6D8012

#6D8012 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.5% C 0.128 H 119.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6D8012
RGBrgb(109, 128, 18)
HSLhsl(70, 75%, 29%)
HSVhsv(70, 86%, 50%)
CMYKcmyk(14.8%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.37, -21.19, 51.19)
CIE-LCHlch(50.37, 55.40, 112.48°)
OKLaboklab(56.5% -0.0636 0.1109)
OKLCHoklch(56.5% 0.128 119.8)
XYZxyz(14.1353, 18.7333, 3.4434)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8012 #251280
analogous
#805C12 #6D8012 #368012
triadic
#6D8012 #126D80 #80126D
tetradic
#6D8012 #12805C #251280 #801236
square
#6D8012 #12805C #251280 #801236
split-complementary
#6D8012 #123680 #5C1280
monochromatic
#171B04 #3F4A0A #6D8012 #9BB61A #C2E12B

Accessibility & contrast

On white

4.42
#6D8012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6D8012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8012
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8012#FFFFFF#000000##000000
##6D80121.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#74796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6d8012;
/* rgb */ color: rgb(109, 128, 18);
/* oklch */ color: oklch(56.5% 0.128 119.8);
Tailwind
colors: {
  custom: {
    50: '#9aa45d',
    500: '#6d8012',
    950: '#000000',
  },
}
SCSS
$custom: #6d8012;
$custom-light: #9aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8012",
  "rgb": {
    "r": 109,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 70.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.1278,
    "h": 119.8
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#6D8012
secondary
#4E38B6
accent
#36F256
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8012

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

Preview Lab → · Contrast checker → · Palette generator →

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