#127B19#127B19

#127B19 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.8% C 0.160 H 143.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#127B19
RGBrgb(18, 123, 25)
HSLhsl(124, 74%, 28%)
HSVhsv(124, 85%, 48%)
CMYKcmyk(85.4%, 0%, 79.7%, 51.8%)
CIE-LABlab(44.75, -47.32, 42.41)
CIE-LCHlch(44.75, 63.55, 138.14°)
OKLaboklab(50.83% -0.1281 0.0952)
OKLCHoklch(50.83% 0.16 143.4)
XYZxyz(7.5074, 14.3638, 3.2963)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B19 #7B1274
analogous
#3F7B12 #127B19 #127B4D
triadic
#127B19 #19127B #7B1912
tetradic
#127B19 #123F7B #7B1274 #7B4D12
square
#127B19 #123F7B #7B1274 #7B4D12
split-complementary
#127B19 #4D127B #7B123F
monochromatic
#041B05 #0A460E #127B19 #1AB024 #28E034

Accessibility & contrast

On white

5.42
#127B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#127B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B19
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B19#FFFFFF#000000##FFFFFF
##127B191.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E02
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b19;
/* rgb */ color: rgb(18, 123, 25);
/* oklch */ color: oklch(50.8% 0.160 143.4);
Tailwind
colors: {
  custom: {
    50: '#67a25e',
    500: '#127b19',
    950: '#000000',
  },
}
SCSS
$custom: #127b19;
$custom-light: #67a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#127b19",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 124,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.15965,
    "h": 143.4
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#127B19
secondary
#B138A9
accent
#37E5F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127B19

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

Preview Lab → · Contrast checker → · Palette generator →

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