#126A3B#126A3B

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

Color values

HEX#126A3B
RGBrgb(18, 106, 59)
HSLhsl(148, 71%, 24%)
HSVhsv(148, 83%, 42%)
CMYKcmyk(83%, 0%, 44.3%, 58.4%)
CIE-LABlab(39.16, -36.56, 19.48)
CIE-LCHlch(39.16, 41.43, 151.95°)
OKLaboklab(46.31% -0.0984 0.0483)
OKLCHoklch(46.31% 0.11 153.9)
XYZxyz(6.1923, 10.7517, 5.8857)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A3B #6A1241
analogous
#156A12 #126A3B #126A67
triadic
#126A3B #3B126A #6A3B12
tetradic
#126A3B #12156A #6A1241 #6A6712
square
#126A3B #12156A #6A1241 #6A6712
split-complementary
#126A3B #67126A #6A1215
monochromatic
#041A0F #09361E #126A3B #1B9E58 #24D375

Accessibility & contrast

On white

6.67
#126A3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A3B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A3B#FFFFFF#000000##FFFFFF
##126A3B1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a3b;
/* rgb */ color: rgb(18, 106, 59);
/* oklch */ color: oklch(46.3% 0.110 153.9);
Tailwind
colors: {
  custom: {
    50: '#619571',
    500: '#126a3b',
    950: '#000000',
  },
}
SCSS
$custom: #126a3b;
$custom-light: #619571;
$custom-dark: #000000;
JSON
{
  "hex": "#126a3b",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 59
  },
  "hsl": {
    "h": 147.955,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.10959,
    "h": 153.9
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#126A3B
secondary
#A23670
accent
#3A9AEE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #126A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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