#127E22#127E22

#127E22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.158 H 144.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#127E22
RGBrgb(18, 126, 34)
HSLhsl(129, 75%, 28%)
HSVhsv(129, 86%, 49%)
CMYKcmyk(85.7%, 0%, 73%, 50.6%)
CIE-LABlab(45.86, -47.53, 40.06)
CIE-LCHlch(45.86, 62.16, 139.87°)
OKLaboklab(51.77% -0.1283 0.0916)
OKLCHoklch(51.77% 0.158 144.5)
XYZxyz(7.9985, 15.1648, 4.0186)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E22 #7E126E
analogous
#387E12 #127E22 #127E58
triadic
#127E22 #22127E #7E2212
tetradic
#127E22 #12387E #7E126E #7E5812
square
#127E22 #12387E #7E126E #7E5812
split-complementary
#127E22 #58127E #7E1238
monochromatic
#041B07 #0A4814 #127E22 #1AB430 #2AE145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127E22#FFFFFF#000000##FFFFFF
##127E221.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)
#807114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e22;
/* rgb */ color: rgb(18, 126, 34);
/* oklch */ color: oklch(51.8% 0.158 144.5);
Tailwind
colors: {
  custom: {
    50: '#67a463',
    500: '#127e22',
    950: '#000000',
  },
}
SCSS
$custom: #127e22;
$custom-light: #67a463;
$custom-dark: #000000;
JSON
{
  "hex": "#127e22",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 128.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.15761,
    "h": 144.5
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#127E22
secondary
#B438A1
accent
#36D6F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127E22

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

Preview Lab → · Contrast checker → · Palette generator →

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