#6C7E12#6C7E12

#6C7E12 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.9% C 0.126 H 119.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6C7E12
RGBrgb(108, 126, 18)
HSLhsl(70, 75%, 28%)
HSVhsv(70, 86%, 49%)
CMYKcmyk(14.3%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.68, -20.60, 50.57)
CIE-LCHlch(49.68, 54.60, 112.17°)
OKLaboklab(55.92% -0.0619 0.1096)
OKLCHoklch(55.92% 0.126 119.5)
XYZxyz(13.7547, 18.1536, 3.3515)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7E12 #24127E
analogous
#7E5A12 #6C7E12 #367E12
triadic
#6C7E12 #126C7E #7E126C
tetradic
#6C7E12 #127E5A #24127E #7E1236
square
#6C7E12 #127E5A #24127E #7E1236
split-complementary
#6C7E12 #12367E #5A127E
monochromatic
#171B04 #3E480A #6C7E12 #9AB41A #C2E12A

Accessibility & contrast

On white

4.53
#6C7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6C7E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7E12
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7E12#FFFFFF#000000##000000
##6C7E121.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#85761E
Tritanopia (blue-blind)
#73776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6c7e12;
/* rgb */ color: rgb(108, 126, 18);
/* oklch */ color: oklch(55.9% 0.126 119.5);
Tailwind
colors: {
  custom: {
    50: '#9aa35c',
    500: '#6c7e12',
    950: '#000000',
  },
}
SCSS
$custom: #6c7e12;
$custom-light: #9aa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7e12",
  "rgb": {
    "r": 108,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.12585,
    "h": 119.5
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#6C7E12
secondary
#4D38B4
accent
#36F255
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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