#127E1E#127E1E

#127E1E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.160 H 143.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#127E1E
RGBrgb(18, 126, 30)
HSLhsl(127, 75%, 28%)
HSVhsv(127, 86%, 49%)
CMYKcmyk(85.7%, 0%, 76.2%, 50.6%)
CIE-LABlab(45.83, -47.90, 41.63)
CIE-LCHlch(45.83, 63.46, 139.00°)
OKLaboklab(51.73% -0.1295 0.0943)
OKLCHoklch(51.73% 0.16 143.9)
XYZxyz(7.9441, 15.1431, 3.7323)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E1E #7E1272
analogous
#3C7E12 #127E1E #127E54
triadic
#127E1E #1E127E #7E1E12
tetradic
#127E1E #123C7E #7E1272 #7E5412
square
#127E1E #123C7E #7E1272 #7E5412
split-complementary
#127E1E #54127E #7E123C
monochromatic
#041B06 #0A4811 #127E1E #1AB42B #2AE13E

Accessibility & contrast

On white

5.21
#127E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#127E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E1E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E1E#FFFFFF#000000##FFFFFF
##127E1E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e1e;
/* rgb */ color: rgb(18, 126, 30);
/* oklch */ color: oklch(51.7% 0.160 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a461',
    500: '#127e1e',
    950: '#000000',
  },
}
SCSS
$custom: #127e1e;
$custom-light: #68a461;
$custom-dark: #000000;
JSON
{
  "hex": "#127e1e",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 126.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.16017,
    "h": 143.9
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#127E1E
secondary
#B438A6
accent
#36DDF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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