#127E1F#127E1F

#127E1F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.160 H 144.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#127E1F
RGBrgb(18, 126, 31)
HSLhsl(127, 75%, 28%)
HSVhsv(127, 86%, 49%)
CMYKcmyk(85.7%, 0%, 75.4%, 50.6%)
CIE-LABlab(45.84, -47.81, 41.25)
CIE-LCHlch(45.84, 63.14, 139.21°)
OKLaboklab(51.74% -0.1292 0.0936)
OKLCHoklch(51.74% 0.16 144.1)
XYZxyz(7.9571, 15.1482, 3.8006)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E1F #7E1271
analogous
#3B7E12 #127E1F #127E55
triadic
#127E1F #1F127E #7E1F12
tetradic
#127E1F #123B7E #7E1271 #7E5512
square
#127E1F #123B7E #7E1271 #7E5512
split-complementary
#127E1F #55127E #7E123B
monochromatic
#041B07 #0A4812 #127E1F #1AB42C #2AE140

Accessibility & contrast

On white

5.21
#127E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#127E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E1F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E1F#FFFFFF#000000##FFFFFF
##127E1F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710E
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e1f;
/* rgb */ color: rgb(18, 126, 31);
/* oklch */ color: oklch(51.7% 0.160 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a461',
    500: '#127e1f',
    950: '#000000',
  },
}
SCSS
$custom: #127e1f;
$custom-light: #68a461;
$custom-dark: #000000;
JSON
{
  "hex": "#127e1f",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 127.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.15956,
    "h": 144.1
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#127E1F
secondary
#B438A5
accent
#36DBF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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