#127D27#127D27

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

Color values

HEX#127D27
RGBrgb(18, 125, 39)
HSLhsl(132, 75%, 28%)
HSVhsv(132, 86%, 49%)
CMYKcmyk(85.6%, 0%, 68.8%, 51%)
CIE-LABlab(45.55, -46.66, 37.58)
CIE-LCHlch(45.55, 59.91, 141.16°)
OKLaboklab(51.53% -0.1257 0.0869)
OKLCHoklch(51.53% 0.153 145.3)
XYZxyz(7.9487, 14.9413, 4.3841)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D27 #7D1268
analogous
#327D12 #127D27 #127D5C
triadic
#127D27 #27127D #7D2712
tetradic
#127D27 #12327D #7D1268 #7D5C12
square
#127D27 #12327D #7D1268 #7D5C12
split-complementary
#127D27 #5C127D #7D1232
monochromatic
#041B08 #0A4816 #127D27 #1AB238 #29E04D

Accessibility & contrast

On white

5.27
#127D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127D27
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D27#FFFFFF#000000##FFFFFF
##127D271.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711C
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d27;
/* rgb */ color: rgb(18, 125, 39);
/* oklch */ color: oklch(51.5% 0.153 145.3);
Tailwind
colors: {
  custom: {
    50: '#67a465',
    500: '#127d27',
    950: '#000000',
  },
}
SCSS
$custom: #127d27;
$custom-light: #67a465;
$custom-dark: #000000;
JSON
{
  "hex": "#127d27",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 131.776,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.15286,
    "h": 145.3
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#127D27
secondary
#B3389B
accent
#36CDF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D27

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

Preview Lab → · Contrast checker → · Palette generator →

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