#127D1B#127D1B

#127D1B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.161 H 143.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#127D1B
RGBrgb(18, 125, 27)
HSLhsl(125, 75%, 28%)
HSVhsv(125, 86%, 49%)
CMYKcmyk(85.6%, 0%, 78.4%, 51%)
CIE-LABlab(45.46, -47.82, 42.39)
CIE-LCHlch(45.46, 63.90, 138.44°)
OKLaboklab(51.42% -0.1294 0.0955)
OKLCHoklch(51.42% 0.161 143.6)
XYZxyz(7.7804, 14.8740, 3.4976)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D1B #7D1274
analogous
#3E7D12 #127D1B #127D50
triadic
#127D1B #1B127D #7D1B12
tetradic
#127D1B #123E7D #7D1274 #7D5012
square
#127D1B #123E7D #7D1274 #7D5012
split-complementary
#127D1B #50127D #7D123E
monochromatic
#041B06 #0A480F #127D1B #1AB227 #29E039

Accessibility & contrast

On white

5.28
#127D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#127D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D1B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D1B#FFFFFF#000000##FFFFFF
##127D1B1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807005
Deuteranopia (green-blind)
#746926
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d1b;
/* rgb */ color: rgb(18, 125, 27);
/* oklch */ color: oklch(51.4% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#67a45f',
    500: '#127d1b',
    950: '#000000',
  },
}
SCSS
$custom: #127d1b;
$custom-light: #67a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#127d1b",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 125.047,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.1608,
    "h": 143.6
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#127D1B
secondary
#B338A9
accent
#36E2F1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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