#127E39#127E39

#127E39 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.139 H 149.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#127E39
RGBrgb(18, 126, 57)
HSLhsl(142, 75%, 28%)
HSVhsv(142, 86%, 49%)
CMYKcmyk(85.7%, 0%, 54.8%, 50.6%)
CIE-LABlab(46.10, -44.54, 29.37)
CIE-LCHlch(46.10, 53.35, 146.61°)
OKLaboklab(52.05% -0.1195 0.0707)
OKLCHoklch(52.05% 0.139 149.4)
XYZxyz(8.4481, 15.3447, 6.3867)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E39 #7E1257
analogous
#217E12 #127E39 #127E6F
triadic
#127E39 #39127E #7E3912
tetradic
#127E39 #12217E #7E1257 #7E6F12
square
#127E39 #12217E #7E1257 #7E6F12
split-complementary
#127E39 #6F127E #7E1221
monochromatic
#041B0C #0A4821 #127E39 #1AB451 #2AE16C

Accessibility & contrast

On white

5.16
#127E39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#127E39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E39
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E39#FFFFFF#000000##FFFFFF
##127E391.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e39;
/* rgb */ color: rgb(18, 126, 57);
/* oklch */ color: oklch(52.0% 0.139 149.4);
Tailwind
colors: {
  custom: {
    50: '#66a471',
    500: '#127e39',
    950: '#000000',
  },
}
SCSS
$custom: #127e39;
$custom-light: #66a471;
$custom-dark: #000000;
JSON
{
  "hex": "#127e39",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 57
  },
  "hsl": {
    "h": 141.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.13888,
    "h": 149.4
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#127E39
secondary
#B43887
accent
#36AEF2
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127E39

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

Preview Lab → · Contrast checker → · Palette generator →

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