#127F3F#127F3F

#127F3F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.135 H 151.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#127F3F
RGBrgb(18, 127, 63)
HSLhsl(145, 75%, 28%)
HSVhsv(145, 86%, 50%)
CMYKcmyk(85.8%, 0%, 50.4%, 50.2%)
CIE-LABlab(46.53, -43.90, 26.69)
CIE-LCHlch(46.53, 51.38, 148.69°)
OKLaboklab(52.43% -0.1178 0.0651)
OKLCHoklch(52.43% 0.135 151.1)
XYZxyz(8.7352, 15.6651, 7.2650)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F3F #7F1252
analogous
#1B7F12 #127F3F #127F75
triadic
#127F3F #3F127F #7F3F12
tetradic
#127F3F #121B7F #7F1252 #7F7512
square
#127F3F #121B7F #7F1252 #7F7512
split-complementary
#127F3F #75127F #7F121B
monochromatic
#041B0D #0A4924 #127F3F #1AB55A #2BE176

Accessibility & contrast

On white

5.08
#127F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#127F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F3F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F3F#FFFFFF#000000##FFFFFF
##127F3F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80733A
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f3f;
/* rgb */ color: rgb(18, 127, 63);
/* oklch */ color: oklch(52.4% 0.135 151.1);
Tailwind
colors: {
  custom: {
    50: '#66a575',
    500: '#127f3f',
    950: '#000000',
  },
}
SCSS
$custom: #127f3f;
$custom-light: #66a575;
$custom-dark: #000000;
JSON
{
  "hex": "#127f3f",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 144.771,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.13454,
    "h": 151.1
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#127F3F
secondary
#B53881
accent
#36A4F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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