#127C28#127C28

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

Color values

HEX#127C28
RGBrgb(18, 124, 40)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 85%, 49%)
CMYKcmyk(85.5%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.22, -46.21, 36.75)
CIE-LCHlch(45.22, 59.04, 141.50°)
OKLaboklab(51.25% -0.1245 0.0853)
OKLCHoklch(51.25% 0.151 145.6)
XYZxyz(7.8395, 14.6961, 4.4305)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C28 #7C1266
analogous
#317C12 #127C28 #127C5D
triadic
#127C28 #28127C #7C2812
tetradic
#127C28 #12317C #7C1266 #7C5D12
square
#127C28 #12317C #7C1266 #7C5D12
split-complementary
#127C28 #5D127C #7C1231
monochromatic
#041B09 #0A4717 #127C28 #1AB139 #29E04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127C28#FFFFFF#000000##FFFFFF
##127C281.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)
#7E701D
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c28;
/* rgb */ color: rgb(18, 124, 40);
/* oklch */ color: oklch(51.2% 0.151 145.6);
Tailwind
colors: {
  custom: {
    50: '#66a366',
    500: '#127c28',
    950: '#000000',
  },
}
SCSS
$custom: #127c28;
$custom-light: #66a366;
$custom-dark: #000000;
JSON
{
  "hex": "#127c28",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 132.453,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.15089,
    "h": 145.6
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#127C28
secondary
#B23899
accent
#37CBF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127C28

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

Preview Lab → · Contrast checker → · Palette generator →

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