#127D26#127D26

#127D26 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.154 H 145.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#127D26
RGBrgb(18, 125, 38)
HSLhsl(131, 75%, 28%)
HSVhsv(131, 86%, 49%)
CMYKcmyk(85.6%, 0%, 69.6%, 51%)
CIE-LABlab(45.54, -46.78, 38.01)
CIE-LCHlch(45.54, 60.28, 140.90°)
OKLaboklab(51.52% -0.1261 0.0877)
OKLCHoklch(51.52% 0.154 145.2)
XYZxyz(7.9323, 14.9348, 4.2980)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D26 #7D1269
analogous
#337D12 #127D26 #127D5B
triadic
#127D26 #26127D #7D2612
tetradic
#127D26 #12337D #7D1269 #7D5B12
square
#127D26 #12337D #7D1269 #7D5B12
split-complementary
#127D26 #5B127D #7D1233
monochromatic
#041B08 #0A4816 #127D26 #1AB236 #29E04B

Accessibility & contrast

On white

5.27
#127D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#127D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D26
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D26#FFFFFF#000000##FFFFFF
##127D261.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711A
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d26;
/* rgb */ color: rgb(18, 125, 38);
/* oklch */ color: oklch(51.5% 0.154 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a465',
    500: '#127d26',
    950: '#000000',
  },
}
SCSS
$custom: #127d26;
$custom-light: #67a465;
$custom-dark: #000000;
JSON
{
  "hex": "#127d26",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 131.215,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.1536,
    "h": 145.2
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#127D26
secondary
#B3389C
accent
#36CEF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D26

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

Preview Lab → · Contrast checker → · Palette generator →

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