#126E2B#126E2B

#126E2B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.2% C 0.131 H 147.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#126E2B
RGBrgb(18, 110, 43)
HSLhsl(136, 72%, 25%)
HSVhsv(136, 84%, 43%)
CMYKcmyk(83.6%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.34, -40.89, 29.74)
CIE-LCHlch(40.34, 50.56, 143.98°)
OKLaboklab(47.21% -0.1099 0.0706)
OKLCHoklch(47.21% 0.131 147.3)
XYZxyz(6.2609, 11.4541, 4.1659)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E2B #6E1255
analogous
#276E12 #126E2B #126E59
triadic
#126E2B #2B126E #6E2B12
tetradic
#126E2B #12276E #6E1255 #6E5912
square
#126E2B #12276E #6E1255 #6E5912
split-complementary
#126E2B #59126E #6E1227
monochromatic
#041A0A #093916 #126E2B #1BA340 #23D754

Accessibility & contrast

On white

6.38
#126E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#126E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E2B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E2B#FFFFFF#000000##FFFFFF
##126E2B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6324
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e2b;
/* rgb */ color: rgb(18, 110, 43);
/* oklch */ color: oklch(47.2% 0.131 147.3);
Tailwind
colors: {
  custom: {
    50: '#629966',
    500: '#126e2b',
    950: '#000000',
  },
}
SCSS
$custom: #126e2b;
$custom-light: #629966;
$custom-dark: #000000;
JSON
{
  "hex": "#126e2b",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 136.304,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47207,
    "c": 0.13061,
    "h": 147.3
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#126E2B
secondary
#A53787
accent
#39BDEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #126E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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