#126C11#126C11

#126C11 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.147 H 142.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#126C11
RGBrgb(18, 108, 17)
HSLhsl(119, 73%, 25%)
HSVhsv(119, 84%, 42%)
CMYKcmyk(83.3%, 0%, 84.3%, 57.6%)
CIE-LABlab(39.40, -42.94, 39.98)
CIE-LCHlch(39.40, 58.67, 137.04°)
OKLaboklab(46.36% -0.1166 0.089)
OKLCHoklch(46.36% 0.147 142.7)
XYZxyz(5.7128, 10.8935, 2.3318)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C11 #6B116C
analogous
#3F6C11 #126C11 #116C3E
triadic
#126C11 #11126C #6C1112
tetradic
#126C11 #113F6C #6B116C #6C3E11
square
#126C11 #113F6C #6B116C #6C3E11
split-complementary
#126C11 #3E116C #6C113F
monochromatic
#041A04 #093709 #126C11 #1BA119 #24D622

Accessibility & contrast

On white

6.61
#126C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#126C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C11
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C11#FFFFFF#000000##FFFFFF
##126C111.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#00695B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126c11;
/* rgb */ color: rgb(18, 108, 17);
/* oklch */ color: oklch(46.4% 0.147 142.7);
Tailwind
colors: {
  custom: {
    50: '#639758',
    500: '#126c11',
    950: '#000000',
  },
}
SCSS
$custom: #126c11;
$custom-light: #639758;
$custom-dark: #000000;
JSON
{
  "hex": "#126c11",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 119.341,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.14666,
    "h": 142.7
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#126C11
secondary
#A235A4
accent
#38EFED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C11

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

Preview Lab → · Contrast checker → · Palette generator →

#126C11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva