#127E25#127E25

#127E25 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.156 H 145.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#127E25
RGBrgb(18, 126, 37)
HSLhsl(131, 75%, 28%)
HSVhsv(131, 86%, 49%)
CMYKcmyk(85.7%, 0%, 70.6%, 50.6%)
CIE-LABlab(45.88, -47.22, 38.82)
CIE-LCHlch(45.88, 61.13, 140.58°)
OKLaboklab(51.8% -0.1273 0.0893)
OKLCHoklch(51.8% 0.156 145)
XYZxyz(8.0437, 15.1829, 4.2566)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E25 #7E126B
analogous
#357E12 #127E25 #127E5B
triadic
#127E25 #25127E #7E2512
tetradic
#127E25 #12357E #7E126B #7E5B12
square
#127E25 #12357E #7E126B #7E5B12
split-complementary
#127E25 #5B127E #7E1235
monochromatic
#041B08 #0A4815 #127E25 #1AB435 #2AE14A

Accessibility & contrast

On white

5.20
#127E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#127E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E25
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E25#FFFFFF#000000##FFFFFF
##127E251.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807118
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e25;
/* rgb */ color: rgb(18, 126, 37);
/* oklch */ color: oklch(51.8% 0.156 145.0);
Tailwind
colors: {
  custom: {
    50: '#67a464',
    500: '#127e25',
    950: '#000000',
  },
}
SCSS
$custom: #127e25;
$custom-light: #67a464;
$custom-dark: #000000;
JSON
{
  "hex": "#127e25",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 130.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51797,
    "c": 0.15553,
    "h": 145
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#127E25
secondary
#B4389E
accent
#36D1F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E25

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

Preview Lab → · Contrast checker → · Palette generator →

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