#127E19#127E19

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

Color values

HEX#127E19
RGBrgb(18, 126, 25)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 86%, 49%)
CMYKcmyk(85.7%, 0%, 80.2%, 50.6%)
CIE-LABlab(45.80, -48.30, 43.43)
CIE-LCHlch(45.80, 64.95, 138.04°)
OKLaboklab(51.7% -0.1308 0.0973)
OKLCHoklch(51.7% 0.163 143.3)
XYZxyz(7.8853, 15.1195, 3.4223)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E19 #7E1277
analogous
#417E12 #127E19 #127E4F
triadic
#127E19 #19127E #7E1912
tetradic
#127E19 #12417E #7E1277 #7E4F12
square
#127E19 #12417E #7E1277 #7E4F12
split-complementary
#127E19 #4F127E #7E1241
monochromatic
#041B05 #0A480E #127E19 #1AB424 #2AE136

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127E19#FFFFFF#000000##FFFFFF
##127E191.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)
#817101
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e19;
/* rgb */ color: rgb(18, 126, 25);
/* oklch */ color: oklch(51.7% 0.163 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a45e',
    500: '#127e19',
    950: '#000000',
  },
}
SCSS
$custom: #127e19;
$custom-light: #68a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#127e19",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 123.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.16304,
    "h": 143.3
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#127E19
secondary
#B438AC
accent
#36E5F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E19

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

Preview Lab → · Contrast checker → · Palette generator →

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