#127F3E#127F3E

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

Color values

HEX#127F3E
RGBrgb(18, 127, 62)
HSLhsl(144, 75%, 28%)
HSVhsv(144, 86%, 50%)
CMYKcmyk(85.8%, 0%, 51.2%, 50.2%)
CIE-LABlab(46.52, -44.07, 27.22)
CIE-LCHlch(46.52, 51.80, 148.30°)
OKLaboklab(52.42% -0.1182 0.0662)
OKLCHoklch(52.42% 0.135 150.8)
XYZxyz(8.7076, 15.6541, 7.1191)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F3E #7F1253
analogous
#1D7F12 #127F3E #127F74
triadic
#127F3E #3E127F #7F3E12
tetradic
#127F3E #121D7F #7F1253 #7F7412
square
#127F3E #121D7F #7F1253 #7F7412
split-complementary
#127F3E #74127F #7F121D
monochromatic
#041B0D #0A4924 #127F3E #1AB558 #2BE174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F3E#FFFFFF#000000##FFFFFF
##127F3E1.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)
#807339
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f3e;
/* rgb */ color: rgb(18, 127, 62);
/* oklch */ color: oklch(52.4% 0.135 150.8);
Tailwind
colors: {
  custom: {
    50: '#66a574',
    500: '#127f3e',
    950: '#000000',
  },
}
SCSS
$custom: #127f3e;
$custom-light: #66a574;
$custom-dark: #000000;
JSON
{
  "hex": "#127f3e",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 144.22,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.13549,
    "h": 150.8
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#127F3E
secondary
#B53882
accent
#36A6F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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