#126E25#126E25

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

Color values

HEX#126E25
RGBrgb(18, 110, 37)
HSLhsl(132, 72%, 25%)
HSVhsv(132, 84%, 43%)
CMYKcmyk(83.6%, 0%, 66.4%, 56.9%)
CIE-LABlab(40.27, -41.71, 32.65)
CIE-LCHlch(40.27, 52.97, 141.94°)
OKLaboklab(47.13% -0.1123 0.0763)
OKLCHoklch(47.13% 0.136 145.8)
XYZxyz(6.1589, 11.4133, 3.6283)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E25 #6E125B
analogous
#2D6E12 #126E25 #126E53
triadic
#126E25 #25126E #6E2512
tetradic
#126E25 #122D6E #6E125B #6E5312
square
#126E25 #122D6E #6E125B #6E5312
split-complementary
#126E25 #53126E #6E122D
monochromatic
#041A09 #093913 #126E25 #1BA337 #23D748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126E25#FFFFFF#000000##FFFFFF
##126E251.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)
#70631C
Deuteranopia (green-blind)
#665C2B
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e25;
/* rgb */ color: rgb(18, 110, 37);
/* oklch */ color: oklch(47.1% 0.136 145.8);
Tailwind
colors: {
  custom: {
    50: '#639963',
    500: '#126e25',
    950: '#000000',
  },
}
SCSS
$custom: #126e25;
$custom-light: #639963;
$custom-dark: #000000;
JSON
{
  "hex": "#126e25",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 132.391,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.13577,
    "h": 145.8
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#126E25
secondary
#A5378E
accent
#39C9EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #126E25

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

Preview Lab → · Contrast checker → · Palette generator →

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