#126E24#126E24

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

Color values

HEX#126E24
RGBrgb(18, 110, 36)
HSLhsl(132, 72%, 25%)
HSVhsv(132, 84%, 43%)
CMYKcmyk(83.6%, 0%, 67.3%, 56.9%)
CIE-LABlab(40.26, -41.83, 33.12)
CIE-LCHlch(40.26, 53.36, 141.63°)
OKLaboklab(47.12% -0.1127 0.0772)
OKLCHoklch(47.12% 0.137 145.6)
XYZxyz(6.1434, 11.4071, 3.5467)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E24 #6E125C
analogous
#2E6E12 #126E24 #126E52
triadic
#126E24 #24126E #6E2412
tetradic
#126E24 #122E6E #6E125C #6E5212
square
#126E24 #122E6E #6E125C #6E5212
split-complementary
#126E24 #52126E #6E122E
monochromatic
#041A09 #093913 #126E24 #1BA335 #23D746

Accessibility & contrast

On white

6.40
#126E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126E24
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E24#FFFFFF#000000##FFFFFF
##126E241.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126e24;
/* rgb */ color: rgb(18, 110, 36);
/* oklch */ color: oklch(47.1% 0.137 145.6);
Tailwind
colors: {
  custom: {
    50: '#639962',
    500: '#126e24',
    950: '#000000',
  },
}
SCSS
$custom: #126e24;
$custom-light: #639962;
$custom-dark: #000000;
JSON
{
  "hex": "#126e24",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 36
  },
  "hsl": {
    "h": 131.739,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.13659,
    "h": 145.6
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#126E24
secondary
#A53790
accent
#39CBEF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126E24

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

Preview Lab → · Contrast checker → · Palette generator →

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