#127D2C#127D2C

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

Color values

HEX#127D2C
RGBrgb(18, 125, 44)
HSLhsl(135, 75%, 28%)
HSVhsv(135, 86%, 49%)
CMYKcmyk(85.6%, 0%, 64.8%, 51%)
CIE-LABlab(45.60, -46.07, 35.32)
CIE-LCHlch(45.60, 58.05, 142.52°)
OKLaboklab(51.58% -0.1239 0.0827)
OKLCHoklch(51.58% 0.149 146.3)
XYZxyz(8.0371, 14.9767, 4.8496)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D2C #7D1263
analogous
#2E7D12 #127D2C #127D61
triadic
#127D2C #2C127D #7D2C12
tetradic
#127D2C #122E7D #7D1263 #7D6112
square
#127D2C #122E7D #7D1263 #7D6112
split-complementary
#127D2C #61127D #7D122E
monochromatic
#041B09 #0A4819 #127D2C #1AB23F #29E056

Accessibility & contrast

On white

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

On black

4.00
#127D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127D2C#FFFFFF#000000##FFFFFF
##127D2C1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127d2c;
/* rgb */ color: rgb(18, 125, 44);
/* oklch */ color: oklch(51.6% 0.149 146.3);
Tailwind
colors: {
  custom: {
    50: '#67a468',
    500: '#127d2c',
    950: '#000000',
  },
}
SCSS
$custom: #127d2c;
$custom-light: #67a468;
$custom-dark: #000000;
JSON
{
  "hex": "#127d2c",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 134.579,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.14896,
    "h": 146.3
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#127D2C
secondary
#B33895
accent
#36C4F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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