#127F3D#127F3D

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

Color values

HEX#127F3D
RGBrgb(18, 127, 61)
HSLhsl(144, 75%, 28%)
HSVhsv(144, 86%, 50%)
CMYKcmyk(85.8%, 0%, 52%, 50.2%)
CIE-LABlab(46.50, -44.24, 27.74)
CIE-LCHlch(46.50, 52.22, 147.92°)
OKLaboklab(52.4% -0.1187 0.0673)
OKLCHoklch(52.4% 0.136 150.4)
XYZxyz(8.6804, 15.6432, 6.9759)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F3D #7F1254
analogous
#1D7F12 #127F3D #127F73
triadic
#127F3D #3D127F #7F3D12
tetradic
#127F3D #121D7F #7F1254 #7F7312
square
#127F3D #121D7F #7F1254 #7F7312
split-complementary
#127F3D #73127F #7F121D
monochromatic
#041B0D #0A4923 #127F3D #1AB557 #2BE172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F3D#FFFFFF#000000##FFFFFF
##127F3D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807337
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f3d;
/* rgb */ color: rgb(18, 127, 61);
/* oklch */ color: oklch(52.4% 0.136 150.4);
Tailwind
colors: {
  custom: {
    50: '#66a574',
    500: '#127f3d',
    950: '#000000',
  },
}
SCSS
$custom: #127f3d;
$custom-light: #66a574;
$custom-dark: #000000;
JSON
{
  "hex": "#127f3d",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 143.67,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.13644,
    "h": 150.4
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#127F3D
secondary
#B53884
accent
#36A8F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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