#127E36#127E36

#127E36 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.142 H 148.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#127E36
RGBrgb(18, 126, 54)
HSLhsl(140, 75%, 28%)
HSVhsv(140, 86%, 49%)
CMYKcmyk(85.7%, 0%, 57.1%, 50.6%)
CIE-LABlab(46.06, -45.02, 30.88)
CIE-LCHlch(46.06, 54.59, 145.55°)
OKLaboklab(52% -0.1208 0.0739)
OKLCHoklch(52% 0.142 148.5)
XYZxyz(8.3755, 15.3156, 6.0041)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E36 #7E125A
analogous
#247E12 #127E36 #127E6C
triadic
#127E36 #36127E #7E3612
tetradic
#127E36 #12247E #7E125A #7E6C12
square
#127E36 #12247E #7E125A #7E6C12
split-complementary
#127E36 #6C127E #7E1224
monochromatic
#041B0B #0A481F #127E36 #1AB44D #2AE167

Accessibility & contrast

On white

5.17
#127E36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#127E36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E36
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E36#FFFFFF#000000##FFFFFF
##127E361.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e36;
/* rgb */ color: rgb(18, 126, 54);
/* oklch */ color: oklch(52.0% 0.142 148.5);
Tailwind
colors: {
  custom: {
    50: '#66a46f',
    500: '#127e36',
    950: '#000000',
  },
}
SCSS
$custom: #127e36;
$custom-light: #66a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#127e36",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 54
  },
  "hsl": {
    "h": 140,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.14162,
    "h": 148.5
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#127E36
secondary
#B4388B
accent
#36B3F2
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #127E36

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

Preview Lab → · Contrast checker → · Palette generator →

#127E36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva