#126A3C#126A3C

#126A3C is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.3% C 0.109 H 154.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#126A3C
RGBrgb(18, 106, 60)
HSLhsl(149, 71%, 24%)
HSVhsv(149, 83%, 42%)
CMYKcmyk(83%, 0%, 43.4%, 58.4%)
CIE-LABlab(39.18, -36.36, 18.93)
CIE-LCHlch(39.18, 40.99, 152.50°)
OKLaboklab(46.33% -0.0979 0.047)
OKLCHoklch(46.33% 0.109 154.3)
XYZxyz(6.2185, 10.7622, 6.0237)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A3C #6A1240
analogous
#146A12 #126A3C #126A68
triadic
#126A3C #3C126A #6A3C12
tetradic
#126A3C #12146A #6A1240 #6A6812
square
#126A3C #12146A #6A1240 #6A6812
split-complementary
#126A3C #68126A #6A1214
monochromatic
#041A0F #09361E #126A3C #1B9E5A #24D377

Accessibility & contrast

On white

6.66
#126A3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#126A3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A3C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A3C#FFFFFF#000000##FFFFFF
##126A3C1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6139
Deuteranopia (green-blind)
#60593F
Tritanopia (blue-blind)
#00695F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a3c;
/* rgb */ color: rgb(18, 106, 60);
/* oklch */ color: oklch(46.3% 0.109 154.3);
Tailwind
colors: {
  custom: {
    50: '#619572',
    500: '#126a3c',
    950: '#000000',
  },
}
SCSS
$custom: #126a3c;
$custom-light: #619572;
$custom-dark: #000000;
JSON
{
  "hex": "#126a3c",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 60
  },
  "hsl": {
    "h": 148.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4633,
    "c": 0.10857,
    "h": 154.3
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#126A3C
secondary
#A2366E
accent
#3A98EE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #126A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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