#127E28#127E28

#127E28 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.153 H 145.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#127E28
RGBrgb(18, 126, 40)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 86%, 49%)
CMYKcmyk(85.7%, 0%, 68.3%, 50.6%)
CIE-LABlab(45.91, -46.89, 37.52)
CIE-LCHlch(45.91, 60.05, 141.34°)
OKLaboklab(51.83% -0.1263 0.0869)
OKLCHoklch(51.83% 0.153 145.5)
XYZxyz(8.0927, 15.2025, 4.5149)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E28 #7E1268
analogous
#327E12 #127E28 #127E5E
triadic
#127E28 #28127E #7E2812
tetradic
#127E28 #12327E #7E1268 #7E5E12
square
#127E28 #12327E #7E1268 #7E5E12
split-complementary
#127E28 #5E127E #7E1232
monochromatic
#041B08 #0A4817 #127E28 #1AB439 #2AE14F

Accessibility & contrast

On white

5.20
#127E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127E28
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E28#FFFFFF#000000##FFFFFF
##127E281.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e28;
/* rgb */ color: rgb(18, 126, 40);
/* oklch */ color: oklch(51.8% 0.153 145.5);
Tailwind
colors: {
  custom: {
    50: '#67a466',
    500: '#127e28',
    950: '#000000',
  },
}
SCSS
$custom: #127e28;
$custom-light: #67a466;
$custom-dark: #000000;
JSON
{
  "hex": "#127e28",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 132.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.15332,
    "h": 145.5
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#127E28
secondary
#B4389B
accent
#36CBF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E28

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

Preview Lab → · Contrast checker → · Palette generator →

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