#126E26#126E26

#126E26 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.135 H 146.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#126E26
RGBrgb(18, 110, 38)
HSLhsl(133, 72%, 25%)
HSVhsv(133, 84%, 43%)
CMYKcmyk(83.6%, 0%, 65.5%, 56.9%)
CIE-LABlab(40.28, -41.58, 32.18)
CIE-LCHlch(40.28, 52.58, 142.26°)
OKLaboklab(47.14% -0.1119 0.0754)
OKLCHoklch(47.14% 0.135 146.1)
XYZxyz(6.1748, 11.4196, 3.7121)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E26 #6E125A
analogous
#2C6E12 #126E26 #126E54
triadic
#126E26 #26126E #6E2612
tetradic
#126E26 #122C6E #6E125A #6E5412
square
#126E26 #122C6E #6E125A #6E5412
split-complementary
#126E26 #54126E #6E122C
monochromatic
#041A09 #093914 #126E26 #1BA338 #23D74A

Accessibility & contrast

On white

6.39
#126E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#126E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E26
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E26#FFFFFF#000000##FFFFFF
##126E261.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70631E
Deuteranopia (green-blind)
#665C2C
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e26;
/* rgb */ color: rgb(18, 110, 38);
/* oklch */ color: oklch(47.1% 0.135 146.1);
Tailwind
colors: {
  custom: {
    50: '#639963',
    500: '#126e26',
    950: '#000000',
  },
}
SCSS
$custom: #126e26;
$custom-light: #639963;
$custom-dark: #000000;
JSON
{
  "hex": "#126e26",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 38
  },
  "hsl": {
    "h": 133.043,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.13495,
    "h": 146.1
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#126E26
secondary
#A5378D
accent
#39C7EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #126E26

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

Preview Lab → · Contrast checker → · Palette generator →

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