#127F25#127F25

#127F25 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.157 H 144.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#127F25
RGBrgb(18, 127, 37)
HSLhsl(130, 75%, 28%)
HSVhsv(130, 86%, 50%)
CMYKcmyk(85.8%, 0%, 70.9%, 50.2%)
CIE-LABlab(46.23, -47.55, 39.19)
CIE-LCHlch(46.23, 61.62, 140.51°)
OKLaboklab(52.09% -0.1282 0.0901)
OKLCHoklch(52.09% 0.157 144.9)
XYZxyz(8.1722, 15.4399, 4.2994)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F25 #7F126C
analogous
#357F12 #127F25 #127F5B
triadic
#127F25 #25127F #7F2512
tetradic
#127F25 #12357F #7F126C #7F5B12
square
#127F25 #12357F #7F126C #7F5B12
split-complementary
#127F25 #5B127F #7F1235
monochromatic
#041B08 #0A4915 #127F25 #1AB535 #2BE14A

Accessibility & contrast

On white

5.14
#127F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F25
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F25#FFFFFF#000000##FFFFFF
##127F251.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817218
Deuteranopia (green-blind)
#766A2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f25;
/* rgb */ color: rgb(18, 127, 37);
/* oklch */ color: oklch(52.1% 0.157 144.9);
Tailwind
colors: {
  custom: {
    50: '#67a564',
    500: '#127f25',
    950: '#000000',
  },
}
SCSS
$custom: #127f25;
$custom-light: #67a564;
$custom-dark: #000000;
JSON
{
  "hex": "#127f25",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 130.459,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.15672,
    "h": 144.9
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127F25

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

Preview Lab → · Contrast checker → · Palette generator →

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