#126A32#126A32

#126A32 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.1% C 0.119 H 150.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#126A32
RGBrgb(18, 106, 50)
HSLhsl(142, 71%, 24%)
HSVhsv(142, 83%, 42%)
CMYKcmyk(83%, 0%, 52.8%, 58.4%)
CIE-LABlab(39.01, -38.27, 24.39)
CIE-LCHlch(39.01, 45.38, 147.49°)
OKLaboklab(46.14% -0.1028 0.0592)
OKLCHoklch(46.14% 0.119 150.1)
XYZxyz(5.9787, 10.6662, 4.7607)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A32 #6A124A
analogous
#1E6A12 #126A32 #126A5E
triadic
#126A32 #32126A #6A3212
tetradic
#126A32 #121E6A #6A124A #6A5E12
square
#126A32 #121E6A #6A124A #6A5E12
split-complementary
#126A32 #5E126A #6A121E
monochromatic
#041A0C #093619 #126A32 #1B9E4B #24D363

Accessibility & contrast

On white

6.70
#126A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#126A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A32
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A32#FFFFFF#000000##FFFFFF
##126A321.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602D
Deuteranopia (green-blind)
#615936
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a32;
/* rgb */ color: rgb(18, 106, 50);
/* oklch */ color: oklch(46.1% 0.119 150.1);
Tailwind
colors: {
  custom: {
    50: '#61956b',
    500: '#126a32',
    950: '#000000',
  },
}
SCSS
$custom: #126a32;
$custom-light: #61956b;
$custom-dark: #000000;
JSON
{
  "hex": "#126a32",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 50
  },
  "hsl": {
    "h": 141.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.1186,
    "h": 150.1
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#126A32
secondary
#A2367B
accent
#3AACEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126A32

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

Preview Lab → · Contrast checker → · Palette generator →

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