#127C2B#127C2B

#127C2B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.149 H 146.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#127C2B
RGBrgb(18, 124, 43)
HSLhsl(134, 75%, 28%)
HSVhsv(134, 85%, 49%)
CMYKcmyk(85.5%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.24, -45.85, 35.39)
CIE-LCHlch(45.24, 57.92, 142.34°)
OKLaboklab(51.28% -0.1234 0.0827)
OKLCHoklch(51.28% 0.149 146.2)
XYZxyz(7.8926, 14.7173, 4.7098)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C2B #7C1263
analogous
#2E7C12 #127C2B #127C60
triadic
#127C2B #2B127C #7C2B12
tetradic
#127C2B #122E7C #7C1263 #7C6012
square
#127C2B #122E7C #7C1263 #7C6012
split-complementary
#127C2B #60127C #7C122E
monochromatic
#041B09 #0A4718 #127C2B #1AB13E #29E054

Accessibility & contrast

On white

5.33
#127C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#127C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C2B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C2B#FFFFFF#000000##FFFFFF
##127C2B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c2b;
/* rgb */ color: rgb(18, 124, 43);
/* oklch */ color: oklch(51.3% 0.149 146.2);
Tailwind
colors: {
  custom: {
    50: '#66a368',
    500: '#127c2b',
    950: '#000000',
  },
}
SCSS
$custom: #127c2b;
$custom-light: #66a368;
$custom-dark: #000000;
JSON
{
  "hex": "#127c2b",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 134.151,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.14853,
    "h": 146.2
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#127C2B
secondary
#B23895
accent
#37C5F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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