#127D2A#127D2A

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

Color values

HEX#127D2A
RGBrgb(18, 125, 42)
HSLhsl(133, 75%, 28%)
HSVhsv(133, 86%, 49%)
CMYKcmyk(85.6%, 0%, 66.4%, 51%)
CIE-LABlab(45.58, -46.31, 36.24)
CIE-LCHlch(45.58, 58.81, 141.96°)
OKLaboklab(51.56% -0.1247 0.0844)
OKLCHoklch(51.56% 0.151 145.9)
XYZxyz(8.0004, 14.9620, 4.6563)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D2A #7D1265
analogous
#2F7D12 #127D2A #127D5F
triadic
#127D2A #2A127D #7D2A12
tetradic
#127D2A #122F7D #7D1265 #7D5F12
square
#127D2A #122F7D #7D1265 #7D5F12
split-complementary
#127D2A #5F127D #7D122F
monochromatic
#041B09 #0A4818 #127D2A #1AB23C #29E052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127D2A#FFFFFF#000000##FFFFFF
##127D2A1.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)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d2a;
/* rgb */ color: rgb(18, 125, 42);
/* oklch */ color: oklch(51.6% 0.151 145.9);
Tailwind
colors: {
  custom: {
    50: '#67a467',
    500: '#127d2a',
    950: '#000000',
  },
}
SCSS
$custom: #127d2a;
$custom-light: #67a467;
$custom-dark: #000000;
JSON
{
  "hex": "#127d2a",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 133.458,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.15056,
    "h": 145.9
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#127D2A
secondary
#B33897
accent
#36C7F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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