#127D2B#127D2B

#127D2B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.150 H 146.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#127D2B
RGBrgb(18, 125, 43)
HSLhsl(134, 75%, 28%)
HSVhsv(134, 86%, 49%)
CMYKcmyk(85.6%, 0%, 65.6%, 51%)
CIE-LABlab(45.59, -46.19, 35.78)
CIE-LCHlch(45.59, 58.43, 142.24°)
OKLaboklab(51.57% -0.1243 0.0836)
OKLCHoklch(51.57% 0.15 146.1)
XYZxyz(8.0185, 14.9693, 4.7518)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D2B #7D1264
analogous
#2E7D12 #127D2B #127D60
triadic
#127D2B #2B127D #7D2B12
tetradic
#127D2B #122E7D #7D1264 #7D6012
square
#127D2B #122E7D #7D1264 #7D6012
split-complementary
#127D2B #60127D #7D122E
monochromatic
#041B09 #0A4819 #127D2B #1AB23D #29E054

Accessibility & contrast

On white

5.26
#127D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#127D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D2B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D2B#FFFFFF#000000##FFFFFF
##127D2B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d2b;
/* rgb */ color: rgb(18, 125, 43);
/* oklch */ color: oklch(51.6% 0.150 146.1);
Tailwind
colors: {
  custom: {
    50: '#67a468',
    500: '#127d2b',
    950: '#000000',
  },
}
SCSS
$custom: #127d2b;
$custom-light: #67a468;
$custom-dark: #000000;
JSON
{
  "hex": "#127d2b",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 134.019,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.14976,
    "h": 146.1
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#127D2B
secondary
#B33896
accent
#36C6F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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