#127E13#127E13

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

Color values

HEX#127E13
RGBrgb(18, 126, 19)
HSLhsl(121, 75%, 28%)
HSVhsv(121, 86%, 49%)
CMYKcmyk(85.7%, 0%, 84.9%, 50.6%)
CIE-LABlab(45.77, -48.70, 45.31)
CIE-LCHlch(45.77, 66.52, 137.06°)
OKLaboklab(51.66% -0.1321 0.1004)
OKLCHoklch(51.66% 0.166 142.8)
XYZxyz(7.8273, 15.0964, 3.1173)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E13 #7E127D
analogous
#477E12 #127E13 #127E49
triadic
#127E13 #13127E #7E1312
tetradic
#127E13 #12477E #7E127D #7E4912
square
#127E13 #12477E #7E127D #7E4912
split-complementary
#127E13 #49127E #7E1247
monochromatic
#041B04 #0A480B #127E13 #1AB41B #2AE12C

Accessibility & contrast

On white

5.22
#127E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E13
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E13#FFFFFF#000000##FFFFFF
##127E131.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e13;
/* rgb */ color: rgb(18, 126, 19);
/* oklch */ color: oklch(51.7% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a55c',
    500: '#127e13',
    950: '#000000',
  },
}
SCSS
$custom: #127e13;
$custom-light: #68a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#127e13",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 120.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.16595,
    "h": 142.8
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#127E13
secondary
#B438B3
accent
#36F0F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #127E13

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

Preview Lab → · Contrast checker → · Palette generator →

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