#127E3F#127E3F

#127E3F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.133 H 151.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#127E3F
RGBrgb(18, 126, 63)
HSLhsl(145, 75%, 28%)
HSVhsv(145, 86%, 49%)
CMYKcmyk(85.7%, 0%, 50%, 50.6%)
CIE-LABlab(46.19, -43.52, 26.26)
CIE-LCHlch(46.19, 50.83, 148.89°)
OKLaboklab(52.15% -0.1168 0.0641)
OKLCHoklch(52.15% 0.133 151.2)
XYZxyz(8.6067, 15.4081, 7.2221)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E3F #7E1251
analogous
#1B7E12 #127E3F #127E75
triadic
#127E3F #3F127E #7E3F12
tetradic
#127E3F #121B7E #7E1251 #7E7512
square
#127E3F #121B7E #7E1251 #7E7512
split-complementary
#127E3F #75127E #7E121B
monochromatic
#041B0D #0A4824 #127E3F #1AB45A #2AE176

Accessibility & contrast

On white

5.14
#127E3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#127E3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E3F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E3F#FFFFFF#000000##FFFFFF
##127E3F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723A
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e3f;
/* rgb */ color: rgb(18, 126, 63);
/* oklch */ color: oklch(52.1% 0.133 151.2);
Tailwind
colors: {
  custom: {
    50: '#66a475',
    500: '#127e3f',
    950: '#000000',
  },
}
SCSS
$custom: #127e3f;
$custom-light: #66a475;
$custom-dark: #000000;
JSON
{
  "hex": "#127e3f",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 63
  },
  "hsl": {
    "h": 145,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.13321,
    "h": 151.2
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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