#127A18#127A18

#127A18 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.159 H 143.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#127A18
RGBrgb(18, 122, 24)
HSLhsl(123, 74%, 27%)
HSVhsv(123, 85%, 48%)
CMYKcmyk(85.2%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.39, -47.07, 42.41)
CIE-LCHlch(44.39, 63.36, 137.98°)
OKLaboklab(50.53% -0.1275 0.0951)
OKLCHoklch(50.53% 0.159 143.3)
XYZxyz(7.3734, 14.1127, 3.1994)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A18 #7A1274
analogous
#407A12 #127A18 #127A4C
triadic
#127A18 #18127A #7A1812
tetradic
#127A18 #12407A #7A1274 #7A4C12
square
#127A18 #12407A #7A1274 #7A4C12
split-complementary
#127A18 #4C127A #7A1240
monochromatic
#041B05 #0A450E #127A18 #1AAF22 #27DF32

Accessibility & contrast

On white

5.49
#127A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#127A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A18
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A18#FFFFFF#000000##FFFFFF
##127A181.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #127a18;
/* rgb */ color: rgb(18, 122, 24);
/* oklch */ color: oklch(50.5% 0.159 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a25d',
    500: '#127a18',
    950: '#000000',
  },
}
SCSS
$custom: #127a18;
$custom-light: #67a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#127a18",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 123.462,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.15905,
    "h": 143.3
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#127A18
secondary
#B038A9
accent
#37E6F1
background
#F6FAF5
surface
#EBF3E9
border
#C6CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127A18

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

Preview Lab → · Contrast checker → · Palette generator →

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