#127F1A#127F1A

#127F1A is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.164 H 143.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#127F1A
RGBrgb(18, 127, 26)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 86%, 50%)
CMYKcmyk(85.8%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.15, -48.55, 43.43)
CIE-LCHlch(46.15, 65.14, 138.19°)
OKLaboklab(51.99% -0.1314 0.0975)
OKLCHoklch(51.99% 0.164 143.4)
XYZxyz(8.0247, 15.3809, 3.5230)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F1A #7F1277
analogous
#407F12 #127F1A #127F50
triadic
#127F1A #1A127F #7F1A12
tetradic
#127F1A #12407F #7F1277 #7F5012
square
#127F1A #12407F #7F1277 #7F5012
split-complementary
#127F1A #50127F #7F1240
monochromatic
#041B05 #0A490F #127F1A #1AB525 #2BE138

Accessibility & contrast

On white

5.15
#127F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#127F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F1A#FFFFFF#000000##FFFFFF
##127F1A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f1a;
/* rgb */ color: rgb(18, 127, 26);
/* oklch */ color: oklch(52.0% 0.164 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a55f',
    500: '#127f1a',
    950: '#000000',
  },
}
SCSS
$custom: #127f1a;
$custom-light: #68a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#127f1a",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 124.404,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.16363,
    "h": 143.4
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#127F1A
secondary
#B538AC
accent
#36E4F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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