#127E35#127E35

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

Color values

HEX#127E35
RGBrgb(18, 126, 53)
HSLhsl(139, 75%, 28%)
HSVhsv(139, 86%, 49%)
CMYKcmyk(85.7%, 0%, 57.9%, 50.6%)
CIE-LABlab(46.05, -45.17, 31.38)
CIE-LCHlch(46.05, 55.00, 145.21°)
OKLaboklab(51.99% -0.1212 0.0749)
OKLCHoklch(51.99% 0.143 148.3)
XYZxyz(8.3522, 15.3063, 5.8817)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E35 #7E125B
analogous
#257E12 #127E35 #127E6B
triadic
#127E35 #35127E #7E3512
tetradic
#127E35 #12257E #7E125B #7E6B12
square
#127E35 #12257E #7E125B #7E6B12
split-complementary
#127E35 #6B127E #7E1225
monochromatic
#041B0B #0A481E #127E35 #1AB44C #2AE165

Accessibility & contrast

On white

5.17
#127E35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#127E35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E35
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E35#FFFFFF#000000##FFFFFF
##127E351.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722E
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e35;
/* rgb */ color: rgb(18, 126, 53);
/* oklch */ color: oklch(52.0% 0.143 148.3);
Tailwind
colors: {
  custom: {
    50: '#66a46e',
    500: '#127e35',
    950: '#000000',
  },
}
SCSS
$custom: #127e35;
$custom-light: #66a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#127e35",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 139.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.14252,
    "h": 148.3
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#127E35
secondary
#B4388C
accent
#36B5F2
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #127E35

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

Preview Lab → · Contrast checker → · Palette generator →

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