#127D19#127D19

#127D19 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.162 H 143.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#127D19
RGBrgb(18, 125, 25)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 86%, 49%)
CMYKcmyk(85.6%, 0%, 80%, 51%)
CIE-LABlab(45.45, -47.98, 43.09)
CIE-LCHlch(45.45, 64.49, 138.07°)
OKLaboklab(51.41% -0.1299 0.0966)
OKLCHoklch(51.41% 0.162 143.4)
XYZxyz(7.7580, 14.8651, 3.3799)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D19 #7D1276
analogous
#407D12 #127D19 #127D4E
triadic
#127D19 #19127D #7D1912
tetradic
#127D19 #12407D #7D1276 #7D4E12
square
#127D19 #12407D #7D1276 #7D4E12
split-complementary
#127D19 #4E127D #7D1240
monochromatic
#041B05 #0A480E #127D19 #1AB224 #29E035

Accessibility & contrast

On white

5.29
#127D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#127D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D19
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D19#FFFFFF#000000##FFFFFF
##127D191.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d19;
/* rgb */ color: rgb(18, 125, 25);
/* oklch */ color: oklch(51.4% 0.162 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a45e',
    500: '#127d19',
    950: '#000000',
  },
}
SCSS
$custom: #127d19;
$custom-light: #68a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#127d19",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 123.925,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.16191,
    "h": 143.4
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#127D19
secondary
#B338AB
accent
#36E5F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127D19

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

Preview Lab → · Contrast checker → · Palette generator →

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