#127C22#127C22

#127C22 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.155 H 144.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#127C22
RGBrgb(18, 124, 34)
HSLhsl(129, 75%, 28%)
HSVhsv(129, 85%, 49%)
CMYKcmyk(85.5%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.16, -46.86, 39.33)
CIE-LCHlch(45.16, 61.18, 139.99°)
OKLaboklab(51.19% -0.1265 0.09)
OKLCHoklch(51.19% 0.155 144.6)
XYZxyz(7.7453, 14.6584, 3.9342)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C22 #7C126C
analogous
#377C12 #127C22 #127C57
triadic
#127C22 #22127C #7C2212
tetradic
#127C22 #12377C #7C126C #7C5712
square
#127C22 #12377C #7C126C #7C5712
split-complementary
#127C22 #57127C #7C1237
monochromatic
#041B07 #0A4713 #127C22 #1AB131 #29E044

Accessibility & contrast

On white

5.34
#127C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#127C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C22
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C22#FFFFFF#000000##FFFFFF
##127C221.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c22;
/* rgb */ color: rgb(18, 124, 34);
/* oklch */ color: oklch(51.2% 0.155 144.6);
Tailwind
colors: {
  custom: {
    50: '#67a362',
    500: '#127c22',
    950: '#000000',
  },
}
SCSS
$custom: #127c22;
$custom-light: #67a362;
$custom-dark: #000000;
JSON
{
  "hex": "#127c22",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 129.057,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.15524,
    "h": 144.6
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#127C22
secondary
#B238A0
accent
#37D5F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127C22

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

Preview Lab → · Contrast checker → · Palette generator →

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