#127A19#127A19

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

Color values

HEX#127A19
RGBrgb(18, 122, 25)
HSLhsl(124, 74%, 27%)
HSVhsv(124, 85%, 48%)
CMYKcmyk(85.2%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.40, -47.00, 42.07)
CIE-LCHlch(44.40, 63.07, 138.17°)
OKLaboklab(50.53% -0.1273 0.0945)
OKLCHoklch(50.53% 0.159 143.4)
XYZxyz(7.3840, 14.1169, 3.2552)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A19 #7A1273
analogous
#3F7A12 #127A19 #127A4D
triadic
#127A19 #19127A #7A1912
tetradic
#127A19 #123F7A #7A1273 #7A4D12
square
#127A19 #123F7A #7A1273 #7A4D12
split-complementary
#127A19 #4D127A #7A123F
monochromatic
#041B05 #0A450E #127A19 #1AAF24 #27DF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127A19#FFFFFF#000000##FFFFFF
##127A191.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)
#7D6E03
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #127a19;
/* rgb */ color: rgb(18, 122, 25);
/* oklch */ color: oklch(50.5% 0.159 143.4);
Tailwind
colors: {
  custom: {
    50: '#67a25e',
    500: '#127a19',
    950: '#000000',
  },
}
SCSS
$custom: #127a19;
$custom-light: #67a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#127a19",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 124.038,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.1585,
    "h": 143.4
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#127A19
secondary
#B038A8
accent
#37E4F1
background
#F6FAF5
surface
#EBF3E9
border
#C6CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127A19

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

Preview Lab → · Contrast checker → · Palette generator →

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