#127E26#127E26

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

Color values

HEX#127E26
RGBrgb(18, 126, 38)
HSLhsl(131, 75%, 28%)
HSVhsv(131, 86%, 49%)
CMYKcmyk(85.7%, 0%, 69.8%, 50.6%)
CIE-LABlab(45.89, -47.11, 38.39)
CIE-LCHlch(45.89, 60.77, 140.82°)
OKLaboklab(51.81% -0.127 0.0885)
OKLCHoklch(51.81% 0.155 145.1)
XYZxyz(8.0596, 15.1892, 4.3404)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E26 #7E126A
analogous
#347E12 #127E26 #127E5C
triadic
#127E26 #26127E #7E2612
tetradic
#127E26 #12347E #7E126A #7E5C12
square
#127E26 #12347E #7E126A #7E5C12
split-complementary
#127E26 #5C127E #7E1234
monochromatic
#041B08 #0A4816 #127E26 #1AB436 #2AE14C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127E26#FFFFFF#000000##FFFFFF
##127E261.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)
#80711A
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e26;
/* rgb */ color: rgb(18, 126, 38);
/* oklch */ color: oklch(51.8% 0.155 145.1);
Tailwind
colors: {
  custom: {
    50: '#67a465',
    500: '#127e26',
    950: '#000000',
  },
}
SCSS
$custom: #127e26;
$custom-light: #67a465;
$custom-dark: #000000;
JSON
{
  "hex": "#127e26",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 131.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.1548,
    "h": 145.1
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#127E26
secondary
#B4389D
accent
#36CFF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E26

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

Preview Lab → · Contrast checker → · Palette generator →

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