#127F3B#127F3B

#127F3B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.138 H 149.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#127F3B
RGBrgb(18, 127, 59)
HSLhsl(143, 75%, 28%)
HSVhsv(143, 86%, 50%)
CMYKcmyk(85.8%, 0%, 53.5%, 50.2%)
CIE-LABlab(46.47, -44.58, 28.77)
CIE-LCHlch(46.47, 53.05, 147.17°)
OKLaboklab(52.37% -0.1196 0.0695)
OKLCHoklch(52.37% 0.138 149.8)
XYZxyz(8.6275, 15.6220, 6.6975)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F3B #7F1256
analogous
#1F7F12 #127F3B #127F71
triadic
#127F3B #3B127F #7F3B12
tetradic
#127F3B #121F7F #7F1256 #7F7112
square
#127F3B #121F7F #7F1256 #7F7112
split-complementary
#127F3B #71127F #7F121F
monochromatic
#041B0C #0A4922 #127F3B #1AB554 #2BE16F

Accessibility & contrast

On white

5.09
#127F3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#127F3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F3B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F3B#FFFFFF#000000##FFFFFF
##127F3B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807335
Deuteranopia (green-blind)
#746B40
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f3b;
/* rgb */ color: rgb(18, 127, 59);
/* oklch */ color: oklch(52.4% 0.138 149.8);
Tailwind
colors: {
  custom: {
    50: '#66a572',
    500: '#127f3b',
    950: '#000000',
  },
}
SCSS
$custom: #127f3b;
$custom-light: #66a572;
$custom-dark: #000000;
JSON
{
  "hex": "#127f3b",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 59
  },
  "hsl": {
    "h": 142.569,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.13833,
    "h": 149.8
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#127F3B
secondary
#B53886
accent
#36ABF2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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