#126A2B#126A2B

#126A2B is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.125 H 147.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#126A2B
RGBrgb(18, 106, 43)
HSLhsl(137, 71%, 24%)
HSVhsv(137, 83%, 42%)
CMYKcmyk(83%, 0%, 59.4%, 58.4%)
CIE-LABlab(38.92, -39.42, 28.06)
CIE-LCHlch(38.92, 48.38, 144.56°)
OKLaboklab(46.03% -0.1059 0.0669)
OKLCHoklch(46.03% 0.125 147.7)
XYZxyz(5.8391, 10.6104, 4.0253)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A2B #6A1251
analogous
#256A12 #126A2B #126A57
triadic
#126A2B #2B126A #6A2B12
tetradic
#126A2B #12256A #6A1251 #6A5712
square
#126A2B #12256A #6A1251 #6A5712
split-complementary
#126A2B #57126A #6A1225
monochromatic
#041A0B #093616 #126A2B #1B9E40 #24D355

Accessibility & contrast

On white

6.73
#126A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#126A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A2B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A2B#FFFFFF#000000##FFFFFF
##126A2B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6025
Deuteranopia (green-blind)
#615930
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a2b;
/* rgb */ color: rgb(18, 106, 43);
/* oklch */ color: oklch(46.0% 0.125 147.7);
Tailwind
colors: {
  custom: {
    50: '#619666',
    500: '#126a2b',
    950: '#000000',
  },
}
SCSS
$custom: #126a2b;
$custom-light: #619666;
$custom-dark: #000000;
JSON
{
  "hex": "#126a2b",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 137.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4603,
    "c": 0.12528,
    "h": 147.7
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#126A2B
secondary
#A23683
accent
#3ABBEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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