#126F40#126F40

#126F40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 47.9% C 0.112 H 154.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#126F40
RGBrgb(18, 111, 64)
HSLhsl(150, 72%, 25%)
HSVhsv(150, 84%, 44%)
CMYKcmyk(83.8%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.00, -37.54, 19.02)
CIE-LCHlch(41.00, 42.08, 153.14°)
OKLaboklab(47.86% -0.1011 0.0473)
OKLCHoklch(47.86% 0.112 154.9)
XYZxyz(6.8586, 11.8668, 6.7785)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F40 #6F1241
analogous
#136F12 #126F40 #126F6E
triadic
#126F40 #40126F #6F4012
tetradic
#126F40 #12136F #6F1241 #6F6E12
square
#126F40 #12136F #6F1241 #6F6E12
split-complementary
#126F40 #6E126F #6F1213
monochromatic
#041A0F #093A22 #126F40 #1BA45E #23D87D

Accessibility & contrast

On white

6.22
#126F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#126F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F40
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F40#FFFFFF#000000##FFFFFF
##126F401.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126f40;
/* rgb */ color: rgb(18, 111, 64);
/* oklch */ color: oklch(47.9% 0.112 154.9);
Tailwind
colors: {
  custom: {
    50: '#629975',
    500: '#126f40',
    950: '#000000',
  },
}
SCSS
$custom: #126f40;
$custom-light: #629975;
$custom-dark: #000000;
JSON
{
  "hex": "#126f40",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 149.677,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.11162,
    "h": 154.9
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#126F40
secondary
#A6376F
accent
#3995EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #126F40

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

Preview Lab → · Contrast checker → · Palette generator →

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