#127B26#127B26

#127B26 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.151 H 145.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#127B26
RGBrgb(18, 123, 38)
HSLhsl(131, 74%, 28%)
HSVhsv(131, 85%, 48%)
CMYKcmyk(85.4%, 0%, 69.1%, 51.8%)
CIE-LABlab(44.85, -46.10, 37.26)
CIE-LCHlch(44.85, 59.27, 141.06°)
OKLaboklab(50.94% -0.1242 0.0861)
OKLCHoklch(50.94% 0.151 145.3)
XYZxyz(7.6817, 14.4335, 4.2144)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B26 #7B1267
analogous
#327B12 #127B26 #127B5B
triadic
#127B26 #26127B #7B2612
tetradic
#127B26 #12327B #7B1267 #7B5B12
square
#127B26 #12327B #7B1267 #7B5B12
split-complementary
#127B26 #5B127B #7B1232
monochromatic
#041B08 #0A4616 #127B26 #1AB036 #28E04B

Accessibility & contrast

On white

5.40
#127B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#127B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B26
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B26#FFFFFF#000000##FFFFFF
##127B261.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b26;
/* rgb */ color: rgb(18, 123, 38);
/* oklch */ color: oklch(50.9% 0.151 145.3);
Tailwind
colors: {
  custom: {
    50: '#66a265',
    500: '#127b26',
    950: '#000000',
  },
}
SCSS
$custom: #127b26;
$custom-light: #66a265;
$custom-dark: #000000;
JSON
{
  "hex": "#127b26",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 131.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.15118,
    "h": 145.3
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#127B26
secondary
#B1389A
accent
#37CEF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127B26

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

Preview Lab → · Contrast checker → · Palette generator →

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