#126C1E#126C1E

#126C1E is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.139 H 144.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#126C1E
RGBrgb(18, 108, 30)
HSLhsl(128, 71%, 25%)
HSVhsv(128, 83%, 42%)
CMYKcmyk(83.3%, 0%, 72.2%, 57.6%)
CIE-LABlab(39.49, -41.82, 35.05)
CIE-LCHlch(39.49, 54.56, 140.03°)
OKLaboklab(46.46% -0.1129 0.0805)
OKLCHoklch(46.46% 0.139 144.5)
XYZxyz(5.8460, 10.9468, 3.0329)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C1E #6C1260
analogous
#336C12 #126C1E #126C4B
triadic
#126C1E #1E126C #6C1E12
tetradic
#126C1E #12336C #6C1260 #6C4B12
square
#126C1E #12336C #6C1260 #6C4B12
split-complementary
#126C1E #4B126C #6C1233
monochromatic
#041A07 #09380F #126C1E #1BA02D #23D53B

Accessibility & contrast

On white

6.58
#126C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#126C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C1E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C1E#FFFFFF#000000##FFFFFF
##126C1E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6113
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126c1e;
/* rgb */ color: rgb(18, 108, 30);
/* oklch */ color: oklch(46.5% 0.139 144.5);
Tailwind
colors: {
  custom: {
    50: '#62975e',
    500: '#126c1e',
    950: '#000000',
  },
}
SCSS
$custom: #126c1e;
$custom-light: #62975e;
$custom-dark: #000000;
JSON
{
  "hex": "#126c1e",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 128,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.13869,
    "h": 144.5
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#126C1E
secondary
#A33695
accent
#3AD6EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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