#127F26#127F26

#127F26 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.156 H 145.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#127F26
RGBrgb(18, 127, 38)
HSLhsl(131, 75%, 28%)
HSVhsv(131, 86%, 50%)
CMYKcmyk(85.8%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.24, -47.45, 38.76)
CIE-LCHlch(46.24, 61.27, 140.75°)
OKLaboklab(52.1% -0.1279 0.0893)
OKLCHoklch(52.1% 0.156 145.1)
XYZxyz(8.1881, 15.4463, 4.3832)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F26 #7F126B
analogous
#347F12 #127F26 #127F5C
triadic
#127F26 #26127F #7F2612
tetradic
#127F26 #12347F #7F126B #7F5C12
square
#127F26 #12347F #7F126B #7F5C12
split-complementary
#127F26 #5C127F #7F1234
monochromatic
#041B08 #0A4916 #127F26 #1AB536 #2BE14C

Accessibility & contrast

On white

5.14
#127F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F26
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F26#FFFFFF#000000##FFFFFF
##127F261.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#766A2E
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f26;
/* rgb */ color: rgb(18, 127, 38);
/* oklch */ color: oklch(52.1% 0.156 145.1);
Tailwind
colors: {
  custom: {
    50: '#67a565',
    500: '#127f26',
    950: '#000000',
  },
}
SCSS
$custom: #127f26;
$custom-light: #67a565;
$custom-dark: #000000;
JSON
{
  "hex": "#127f26",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 131.009,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.156,
    "h": 145.1
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127F26

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

Preview Lab → · Contrast checker → · Palette generator →

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