#127D28#127D28

#127D28 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.152 H 145.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#127D28
RGBrgb(18, 125, 40)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 86%, 49%)
CMYKcmyk(85.6%, 0%, 68%, 51%)
CIE-LABlab(45.56, -46.55, 37.14)
CIE-LCHlch(45.56, 59.55, 141.42°)
OKLaboklab(51.54% -0.1254 0.0861)
OKLCHoklch(51.54% 0.152 145.5)
XYZxyz(7.9655, 14.9480, 4.4725)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D28 #7D1267
analogous
#327D12 #127D28 #127D5D
triadic
#127D28 #28127D #7D2812
tetradic
#127D28 #12327D #7D1267 #7D5D12
square
#127D28 #12327D #7D1267 #7D5D12
split-complementary
#127D28 #5D127D #7D1232
monochromatic
#041B09 #0A4817 #127D28 #1AB239 #29E04F

Accessibility & contrast

On white

5.26
#127D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#127D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D28
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D28#FFFFFF#000000##FFFFFF
##127D281.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d28;
/* rgb */ color: rgb(18, 125, 40);
/* oklch */ color: oklch(51.5% 0.152 145.5);
Tailwind
colors: {
  custom: {
    50: '#67a466',
    500: '#127d28',
    950: '#000000',
  },
}
SCSS
$custom: #127d28;
$custom-light: #67a466;
$custom-dark: #000000;
JSON
{
  "hex": "#127d28",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 132.336,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.1521,
    "h": 145.5
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#127D28
secondary
#B3389A
accent
#36CBF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D28

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

Preview Lab → · Contrast checker → · Palette generator →

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