#127F2F#127F2F

#127F2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.149 H 146.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#127F2F
RGBrgb(18, 127, 47)
HSLhsl(136, 75%, 28%)
HSVhsv(136, 86%, 50%)
CMYKcmyk(85.8%, 0%, 63%, 50.2%)
CIE-LABlab(46.33, -46.37, 34.70)
CIE-LCHlch(46.33, 57.91, 143.19°)
OKLaboklab(52.2% -0.1246 0.0816)
OKLCHoklch(52.2% 0.149 146.8)
XYZxyz(8.3513, 15.5115, 5.2427)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F2F #7F1262
analogous
#2C7F12 #127F2F #127F65
triadic
#127F2F #2F127F #7F2F12
tetradic
#127F2F #122C7F #7F1262 #7F6512
square
#127F2F #122C7F #7F1262 #7F6512
split-complementary
#127F2F #65127F #7F122C
monochromatic
#041B0A #0A491B #127F2F #1AB543 #2BE15B

Accessibility & contrast

On white

5.12
#127F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#127F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F2F#FFFFFF#000000##FFFFFF
##127F2F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f2f;
/* rgb */ color: rgb(18, 127, 47);
/* oklch */ color: oklch(52.2% 0.149 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a56a',
    500: '#127f2f',
    950: '#000000',
  },
}
SCSS
$custom: #127f2f;
$custom-light: #67a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#127f2f",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 135.963,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.14898,
    "h": 146.8
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#127F2F
secondary
#B53894
accent
#36C0F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #127F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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