#127E2C#127E2C

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

Color values

HEX#127E2C
RGBrgb(18, 126, 44)
HSLhsl(134, 75%, 28%)
HSVhsv(134, 86%, 49%)
CMYKcmyk(85.7%, 0%, 65.1%, 50.6%)
CIE-LABlab(45.95, -46.41, 35.71)
CIE-LCHlch(45.95, 58.56, 142.42°)
OKLaboklab(51.87% -0.1248 0.0835)
OKLCHoklch(51.87% 0.15 146.2)
XYZxyz(8.1643, 15.2311, 4.8920)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E2C #7E1264
analogous
#2E7E12 #127E2C #127E62
triadic
#127E2C #2C127E #7E2C12
tetradic
#127E2C #122E7E #7E1264 #7E6212
square
#127E2C #122E7E #7E1264 #7E6212
split-complementary
#127E2C #62127E #7E122E
monochromatic
#041B09 #0A4819 #127E2C #1AB43F #2AE156

Accessibility & contrast

On white

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

On black

4.05
#127E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127E2C#FFFFFF#000000##FFFFFF
##127E2C1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#746A33
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e2c;
/* rgb */ color: rgb(18, 126, 44);
/* oklch */ color: oklch(51.9% 0.150 146.2);
Tailwind
colors: {
  custom: {
    50: '#67a468',
    500: '#127e2c',
    950: '#000000',
  },
}
SCSS
$custom: #127e2c;
$custom-light: #67a468;
$custom-dark: #000000;
JSON
{
  "hex": "#127e2c",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 134.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.1502,
    "h": 146.2
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#127E2C
secondary
#B43896
accent
#36C4F2
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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