#126F3E#126F3E

#126F3E is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.114 H 154.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#126F3E
RGBrgb(18, 111, 62)
HSLhsl(148, 72%, 25%)
HSVhsv(148, 84%, 44%)
CMYKcmyk(83.8%, 0%, 44.1%, 56.5%)
CIE-LABlab(40.97, -37.96, 20.12)
CIE-LCHlch(40.97, 42.96, 152.07°)
OKLaboklab(47.82% -0.1021 0.0499)
OKLCHoklch(47.82% 0.114 154)
XYZxyz(6.8027, 11.8444, 6.4842)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F3E #6F1243
analogous
#156F12 #126F3E #126F6C
triadic
#126F3E #3E126F #6F3E12
tetradic
#126F3E #12156F #6F1243 #6F6C12
square
#126F3E #12156F #6F1243 #6F6C12
split-complementary
#126F3E #6C126F #6F1215
monochromatic
#041A0F #093A21 #126F3E #1BA45B #23D879

Accessibility & contrast

On white

6.23
#126F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126F3E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F3E#FFFFFF#000000##FFFFFF
##126F3E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126f3e;
/* rgb */ color: rgb(18, 111, 62);
/* oklch */ color: oklch(47.8% 0.114 154.0);
Tailwind
colors: {
  custom: {
    50: '#629974',
    500: '#126f3e',
    950: '#000000',
  },
}
SCSS
$custom: #126f3e;
$custom-light: #629974;
$custom-dark: #000000;
JSON
{
  "hex": "#126f3e",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 62
  },
  "hsl": {
    "h": 148.387,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.11363,
    "h": 154
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#126F3E
secondary
#A63771
accent
#3999EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #126F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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