#127F1C#127F1C

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

Color values

HEX#127F1C
RGBrgb(18, 127, 28)
HSLhsl(126, 75%, 28%)
HSVhsv(126, 86%, 50%)
CMYKcmyk(85.8%, 0%, 78%, 50.2%)
CIE-LABlab(46.16, -48.39, 42.72)
CIE-LCHlch(46.16, 64.55, 138.56°)
OKLaboklab(52.01% -0.1309 0.0963)
OKLCHoklch(52.01% 0.163 143.7)
XYZxyz(8.0479, 15.3902, 3.6448)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F1C #7F1275
analogous
#3E7F12 #127F1C #127F52
triadic
#127F1C #1C127F #7F1C12
tetradic
#127F1C #123E7F #7F1275 #7F5212
square
#127F1C #123E7F #7F1275 #7F5212
split-complementary
#127F1C #52127F #7F123E
monochromatic
#041B06 #0A4910 #127F1C #1AB528 #2BE13B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F1C#FFFFFF#000000##FFFFFF
##127F1C1.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)
#827207
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f1c;
/* rgb */ color: rgb(18, 127, 28);
/* oklch */ color: oklch(52.0% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#68a560',
    500: '#127f1c',
    950: '#000000',
  },
}
SCSS
$custom: #127f1c;
$custom-light: #68a560;
$custom-dark: #000000;
JSON
{
  "hex": "#127f1c",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 125.505,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.16251,
    "h": 143.7
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#127F1C
secondary
#B538A9
accent
#36E1F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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