#127C25#127C25

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

Color values

HEX#127C25
RGBrgb(18, 124, 37)
HSLhsl(131, 75%, 28%)
HSVhsv(131, 85%, 49%)
CMYKcmyk(85.5%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.19, -46.55, 38.07)
CIE-LCHlch(45.19, 60.13, 140.72°)
OKLaboklab(51.22% -0.1255 0.0877)
OKLCHoklch(51.22% 0.153 145)
XYZxyz(7.7905, 14.6765, 4.1722)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C25 #7C1269
analogous
#347C12 #127C25 #127C5A
triadic
#127C25 #25127C #7C2512
tetradic
#127C25 #12347C #7C1269 #7C5A12
square
#127C25 #12347C #7C1269 #7C5A12
split-complementary
#127C25 #5A127C #7C1234
monochromatic
#041B08 #0A4715 #127C25 #1AB135 #29E049

Accessibility & contrast

On white

5.34
#127C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127C25
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C25#FFFFFF#000000##FFFFFF
##127C251.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127c25;
/* rgb */ color: rgb(18, 124, 37);
/* oklch */ color: oklch(51.2% 0.153 145.0);
Tailwind
colors: {
  custom: {
    50: '#67a364',
    500: '#127c25',
    950: '#000000',
  },
}
SCSS
$custom: #127c25;
$custom-light: #67a364;
$custom-dark: #000000;
JSON
{
  "hex": "#127c25",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 130.755,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.15313,
    "h": 145
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#127C25
secondary
#B2389C
accent
#37D0F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127C25

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

Preview Lab → · Contrast checker → · Palette generator →

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