#127E2E#127E2E

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

Color values

HEX#127E2E
RGBrgb(18, 126, 46)
HSLhsl(136, 75%, 28%)
HSVhsv(136, 86%, 49%)
CMYKcmyk(85.7%, 0%, 63.5%, 50.6%)
CIE-LABlab(45.97, -46.15, 34.78)
CIE-LCHlch(45.97, 57.79, 143.00°)
OKLaboklab(51.9% -0.1241 0.0817)
OKLCHoklch(51.9% 0.149 146.6)
XYZxyz(8.2028, 15.2465, 5.0948)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E2E #7E1262
analogous
#2C7E12 #127E2E #127E64
triadic
#127E2E #2E127E #7E2E12
tetradic
#127E2E #122C7E #7E1262 #7E6412
square
#127E2E #122C7E #7E1262 #7E6412
split-complementary
#127E2E #64127E #7E122C
monochromatic
#041B0A #0A481A #127E2E #1AB442 #2AE159

Accessibility & contrast

On white

5.19
#127E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#127E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E2E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E2E#FFFFFF#000000##FFFFFF
##127E2E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e2e;
/* rgb */ color: rgb(18, 126, 46);
/* oklch */ color: oklch(51.9% 0.149 146.6);
Tailwind
colors: {
  custom: {
    50: '#67a46a',
    500: '#127e2e',
    950: '#000000',
  },
}
SCSS
$custom: #127e2e;
$custom-light: #67a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#127e2e",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 135.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.14857,
    "h": 146.6
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#127E2E
secondary
#B43894
accent
#36C1F2
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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