#127F19#127F19

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

Color values

HEX#127F19
RGBrgb(18, 127, 25)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 86%, 50%)
CMYKcmyk(85.8%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.15, -48.62, 43.77)
CIE-LCHlch(46.15, 65.42, 138.01°)
OKLaboklab(51.99% -0.1317 0.098)
OKLCHoklch(51.99% 0.164 143.3)
XYZxyz(8.0138, 15.3765, 3.4651)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F19 #7F1278
analogous
#417F12 #127F19 #127F4F
triadic
#127F19 #19127F #7F1912
tetradic
#127F19 #12417F #7F1278 #7F4F12
square
#127F19 #12417F #7F1278 #7F4F12
split-complementary
#127F19 #4F127F #7F1241
monochromatic
#041B05 #0A490E #127F19 #1AB524 #2BE136

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F19#FFFFFF#000000##FFFFFF
##127F191.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)
#827200
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f19;
/* rgb */ color: rgb(18, 127, 25);
/* oklch */ color: oklch(52.0% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a55e',
    500: '#127f19',
    950: '#000000',
  },
}
SCSS
$custom: #127f19;
$custom-light: #68a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#127f19",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 123.853,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.16416,
    "h": 143.3
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#127F19
secondary
#B538AD
accent
#36E6F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F19

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

Preview Lab → · Contrast checker → · Palette generator →

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