#127F27#127F27

#127F27 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.155 H 145.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#127F27
RGBrgb(18, 127, 39)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 86%, 50%)
CMYKcmyk(85.8%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.25, -47.34, 38.33)
CIE-LCHlch(46.25, 60.91, 141.00°)
OKLaboklab(52.11% -0.1276 0.0885)
OKLCHoklch(52.11% 0.155 145.2)
XYZxyz(8.2044, 15.4528, 4.4693)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F27 #7F126A
analogous
#337F12 #127F27 #127F5D
triadic
#127F27 #27127F #7F2712
tetradic
#127F27 #12337F #7F126A #7F5D12
square
#127F27 #12337F #7F126A #7F5D12
split-complementary
#127F27 #5D127F #7F1233
monochromatic
#041B08 #0A4917 #127F27 #1AB537 #2BE14E

Accessibility & contrast

On white

5.13
#127F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F27
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F27#FFFFFF#000000##FFFFFF
##127F271.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#766A2F
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f27;
/* rgb */ color: rgb(18, 127, 39);
/* oklch */ color: oklch(52.1% 0.155 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a566',
    500: '#127f27',
    950: '#000000',
  },
}
SCSS
$custom: #127f27;
$custom-light: #67a566;
$custom-dark: #000000;
JSON
{
  "hex": "#127f27",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 131.56,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.15527,
    "h": 145.2
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#127F27
secondary
#B5389D
accent
#36CEF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127F27

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

Preview Lab → · Contrast checker → · Palette generator →

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