#127B1A#127B1A

#127B1A is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.8% C 0.159 H 143.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#127B1A
RGBrgb(18, 123, 26)
HSLhsl(125, 74%, 28%)
HSVhsv(125, 85%, 48%)
CMYKcmyk(85.4%, 0%, 78.9%, 51.8%)
CIE-LABlab(44.76, -47.25, 42.06)
CIE-LCHlch(44.76, 63.25, 138.33°)
OKLaboklab(50.83% -0.1279 0.0946)
OKLCHoklch(50.83% 0.159 143.5)
XYZxyz(7.5184, 14.3682, 3.3542)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B1A #7B1273
analogous
#3F7B12 #127B1A #127B4E
triadic
#127B1A #1A127B #7B1A12
tetradic
#127B1A #123F7B #7B1273 #7B4E12
square
#127B1A #123F7B #7B1273 #7B4E12
split-complementary
#127B1A #4E127B #7B123F
monochromatic
#041B06 #0A460F #127B1A #1AB025 #28E036

Accessibility & contrast

On white

5.42
#127B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#127B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B1A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B1A#FFFFFF#000000##FFFFFF
##127B1A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b1a;
/* rgb */ color: rgb(18, 123, 26);
/* oklch */ color: oklch(50.8% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#67a25e',
    500: '#127b1a',
    950: '#000000',
  },
}
SCSS
$custom: #127b1a;
$custom-light: #67a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#127b1a",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 124.571,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.15909,
    "h": 143.5
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#127B1A
secondary
#B138A8
accent
#37E3F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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