#127C27#127C27

#127C27 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.152 H 145.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#127C27
RGBrgb(18, 124, 39)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 85%, 49%)
CMYKcmyk(85.5%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.21, -46.33, 37.20)
CIE-LCHlch(45.21, 59.41, 141.24°)
OKLaboklab(51.24% -0.1248 0.0861)
OKLCHoklch(51.24% 0.152 145.4)
XYZxyz(7.8227, 14.6894, 4.3421)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C27 #7C1267
analogous
#327C12 #127C27 #127C5C
triadic
#127C27 #27127C #7C2712
tetradic
#127C27 #12327C #7C1267 #7C5C12
square
#127C27 #12327C #7C1267 #7C5C12
split-complementary
#127C27 #5C127C #7C1232
monochromatic
#041B08 #0A4716 #127C27 #1AB138 #29E04D

Accessibility & contrast

On white

5.33
#127C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#127C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C27
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C27#FFFFFF#000000##FFFFFF
##127C271.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c27;
/* rgb */ color: rgb(18, 124, 39);
/* oklch */ color: oklch(51.2% 0.152 145.4);
Tailwind
colors: {
  custom: {
    50: '#67a365',
    500: '#127c27',
    950: '#000000',
  },
}
SCSS
$custom: #127c27;
$custom-light: #67a365;
$custom-dark: #000000;
JSON
{
  "hex": "#127c27",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 131.887,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.15164,
    "h": 145.4
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#127C27
secondary
#B2389A
accent
#37CCF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127C27

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

Preview Lab → · Contrast checker → · Palette generator →

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