#126E1A#126E1A

#126E1A is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.0% C 0.144 H 143.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#126E1A
RGBrgb(18, 110, 26)
HSLhsl(125, 72%, 25%)
HSVhsv(125, 84%, 43%)
CMYKcmyk(83.6%, 0%, 76.4%, 56.9%)
CIE-LABlab(40.17, -42.90, 37.45)
CIE-LCHlch(40.17, 56.95, 138.88°)
OKLaboklab(47.02% -0.1161 0.085)
OKLCHoklch(47.02% 0.144 143.8)
XYZxyz(6.0114, 11.3543, 2.8519)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E1A #6E1266
analogous
#386E12 #126E1A #126E48
triadic
#126E1A #1A126E #6E1A12
tetradic
#126E1A #12386E #6E1266 #6E4812
square
#126E1A #12386E #6E1266 #6E4812
split-complementary
#126E1A #48126E #6E1238
monochromatic
#041A06 #09390E #126E1A #1BA326 #23D733

Accessibility & contrast

On white

6.42
#126E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E1A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E1A#FFFFFF#000000##FFFFFF
##126E1A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630B
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e1a;
/* rgb */ color: rgb(18, 110, 26);
/* oklch */ color: oklch(47.0% 0.144 143.8);
Tailwind
colors: {
  custom: {
    50: '#63995c',
    500: '#126e1a',
    950: '#000000',
  },
}
SCSS
$custom: #126e1a;
$custom-light: #63995c;
$custom-dark: #000000;
JSON
{
  "hex": "#126e1a",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 125.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.14387,
    "h": 143.8
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#126E1A
secondary
#A5379C
accent
#39DFEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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