#126E27#126E27

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

Color values

HEX#126E27
RGBrgb(18, 110, 39)
HSLhsl(134, 72%, 25%)
HSVhsv(134, 84%, 43%)
CMYKcmyk(83.6%, 0%, 64.5%, 56.9%)
CIE-LABlab(40.29, -41.45, 31.70)
CIE-LCHlch(40.29, 52.18, 142.59°)
OKLaboklab(47.15% -0.1115 0.0744)
OKLCHoklch(47.15% 0.134 146.3)
XYZxyz(6.1911, 11.4262, 3.7982)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E27 #6E1259
analogous
#2B6E12 #126E27 #126E55
triadic
#126E27 #27126E #6E2712
tetradic
#126E27 #122B6E #6E1259 #6E5512
square
#126E27 #122B6E #6E1259 #6E5512
split-complementary
#126E27 #55126E #6E122B
monochromatic
#041A09 #093914 #126E27 #1BA33A #23D74C

Accessibility & contrast

On white

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

On black

3.29
#126E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126E27#FFFFFF#000000##FFFFFF
##126E271.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126e27;
/* rgb */ color: rgb(18, 110, 39);
/* oklch */ color: oklch(47.2% 0.134 146.3);
Tailwind
colors: {
  custom: {
    50: '#639964',
    500: '#126e27',
    950: '#000000',
  },
}
SCSS
$custom: #126e27;
$custom-light: #639964;
$custom-dark: #000000;
JSON
{
  "hex": "#126e27",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 133.696,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.1341,
    "h": 146.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#126E27
secondary
#A5378C
accent
#39C5EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #126E27

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

Preview Lab → · Contrast checker → · Palette generator →

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