#127E2B#127E2B

#127E2B is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.151 H 146.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#127E2B
RGBrgb(18, 126, 43)
HSLhsl(134, 75%, 28%)
HSVhsv(134, 86%, 49%)
CMYKcmyk(85.7%, 0%, 65.9%, 50.6%)
CIE-LABlab(45.94, -46.53, 36.17)
CIE-LCHlch(45.94, 58.94, 142.14°)
OKLaboklab(51.86% -0.1252 0.0844)
OKLCHoklch(51.86% 0.151 146)
XYZxyz(8.1457, 15.2237, 4.7942)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E2B #7E1265
analogous
#2F7E12 #127E2B #127E61
triadic
#127E2B #2B127E #7E2B12
tetradic
#127E2B #122F7E #7E1265 #7E6112
square
#127E2B #122F7E #7E1265 #7E6112
split-complementary
#127E2B #61127E #7E122F
monochromatic
#041B09 #0A4819 #127E2B #1AB43D #2AE154

Accessibility & contrast

On white

5.19
#127E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#127E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E2B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E2B#FFFFFF#000000##FFFFFF
##127E2B1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e2b;
/* rgb */ color: rgb(18, 126, 43);
/* oklch */ color: oklch(51.9% 0.151 146.0);
Tailwind
colors: {
  custom: {
    50: '#67a468',
    500: '#127e2b',
    950: '#000000',
  },
}
SCSS
$custom: #127e2b;
$custom-light: #67a468;
$custom-dark: #000000;
JSON
{
  "hex": "#127e2b",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 133.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.151,
    "h": 146
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#127E2B
secondary
#B43897
accent
#36C6F2
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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