#127C20#127C20

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

Color values

HEX#127C20
RGBrgb(18, 124, 32)
HSLhsl(128, 75%, 28%)
HSVhsv(128, 85%, 49%)
CMYKcmyk(85.5%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.15, -47.05, 40.14)
CIE-LCHlch(45.15, 61.85, 139.53°)
OKLaboklab(51.17% -0.1271 0.0915)
OKLCHoklch(51.17% 0.157 144.3)
XYZxyz(7.7173, 14.6472, 3.7867)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C20 #7C126E
analogous
#397C12 #127C20 #127C55
triadic
#127C20 #20127C #7C2012
tetradic
#127C20 #12397C #7C126E #7C5512
square
#127C20 #12397C #7C126E #7C5512
split-complementary
#127C20 #55127C #7C1239
monochromatic
#041B07 #0A4712 #127C20 #1AB12E #29E041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127C20#FFFFFF#000000##FFFFFF
##127C201.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)
#7E7011
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c20;
/* rgb */ color: rgb(18, 124, 32);
/* oklch */ color: oklch(51.2% 0.157 144.3);
Tailwind
colors: {
  custom: {
    50: '#67a361',
    500: '#127c20',
    950: '#000000',
  },
}
SCSS
$custom: #127c20;
$custom-light: #67a361;
$custom-dark: #000000;
JSON
{
  "hex": "#127c20",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 127.925,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.15659,
    "h": 144.3
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#127C20
secondary
#B238A2
accent
#37D9F1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C20

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

Preview Lab → · Contrast checker → · Palette generator →

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