#126C1D#126C1D

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

Color values

HEX#126C1D
RGBrgb(18, 108, 29)
HSLhsl(127, 71%, 25%)
HSVhsv(127, 83%, 42%)
CMYKcmyk(83.3%, 0%, 73.1%, 57.6%)
CIE-LABlab(39.48, -41.92, 35.48)
CIE-LCHlch(39.48, 54.92, 139.76°)
OKLaboklab(46.45% -0.1133 0.0813)
OKLCHoklch(46.45% 0.139 144.3)
XYZxyz(5.8334, 10.9417, 2.9667)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C1D #6C1261
analogous
#346C12 #126C1D #126C4A
triadic
#126C1D #1D126C #6C1D12
tetradic
#126C1D #12346C #6C1261 #6C4A12
square
#126C1D #12346C #6C1261 #6C4A12
split-complementary
#126C1D #4A126C #6C1234
monochromatic
#041A07 #09380F #126C1D #1BA02B #23D539

Accessibility & contrast

On white

6.59
#126C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126C1D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C1D#FFFFFF#000000##FFFFFF
##126C1D1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126c1d;
/* rgb */ color: rgb(18, 108, 29);
/* oklch */ color: oklch(46.5% 0.139 144.3);
Tailwind
colors: {
  custom: {
    50: '#62975e',
    500: '#126c1d',
    950: '#000000',
  },
}
SCSS
$custom: #126c1d;
$custom-light: #62975e;
$custom-dark: #000000;
JSON
{
  "hex": "#126c1d",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 29
  },
  "hsl": {
    "h": 127.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46452,
    "c": 0.13941,
    "h": 144.3
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#126C1D
secondary
#A33696
accent
#3AD8EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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