#127F28#127F28

#127F28 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.155 H 145.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#127F28
RGBrgb(18, 127, 40)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 86%, 50%)
CMYKcmyk(85.8%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.26, -47.23, 37.90)
CIE-LCHlch(46.26, 60.55, 141.25°)
OKLaboklab(52.12% -0.1272 0.0877)
OKLCHoklch(52.12% 0.155 145.4)
XYZxyz(8.2212, 15.4595, 4.5578)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F28 #7F1269
analogous
#327F12 #127F28 #127F5E
triadic
#127F28 #28127F #7F2812
tetradic
#127F28 #12327F #7F1269 #7F5E12
square
#127F28 #12327F #7F1269 #7F5E12
split-complementary
#127F28 #5E127F #7F1232
monochromatic
#041B08 #0A4917 #127F28 #1AB539 #2BE14F

Accessibility & contrast

On white

5.13
#127F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F28
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F28#FFFFFF#000000##FFFFFF
##127F281.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#766A30
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f28;
/* rgb */ color: rgb(18, 127, 40);
/* oklch */ color: oklch(52.1% 0.155 145.4);
Tailwind
colors: {
  custom: {
    50: '#67a566',
    500: '#127f28',
    950: '#000000',
  },
}
SCSS
$custom: #127f28;
$custom-light: #67a566;
$custom-dark: #000000;
JSON
{
  "hex": "#127f28",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 132.11,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.15454,
    "h": 145.4
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#127F28
secondary
#B5389C
accent
#36CCF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127F28

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

Preview Lab → · Contrast checker → · Palette generator →

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