#127B18#127B18

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

Color values

HEX#127B18
RGBrgb(18, 123, 24)
HSLhsl(123, 74%, 28%)
HSVhsv(123, 85%, 48%)
CMYKcmyk(85.4%, 0%, 80.5%, 51.8%)
CIE-LABlab(44.74, -47.40, 42.75)
CIE-LCHlch(44.74, 63.83, 137.95°)
OKLaboklab(50.82% -0.1284 0.0958)
OKLCHoklch(50.82% 0.16 143.3)
XYZxyz(7.4968, 14.3595, 3.2405)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B18 #7B1275
analogous
#407B12 #127B18 #127B4D
triadic
#127B18 #18127B #7B1812
tetradic
#127B18 #12407B #7B1275 #7B4D12
square
#127B18 #12407B #7B1275 #7B4D12
split-complementary
#127B18 #4D127B #7B1240
monochromatic
#041B05 #0A460E #127B18 #1AB022 #28E032

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127B18#FFFFFF#000000##FFFFFF
##127B181.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)
#7E6E00
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b18;
/* rgb */ color: rgb(18, 123, 24);
/* oklch */ color: oklch(50.8% 0.160 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a25d',
    500: '#127b18',
    950: '#000000',
  },
}
SCSS
$custom: #127b18;
$custom-light: #67a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#127b18",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 123.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.16018,
    "h": 143.3
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#127B18
secondary
#B138AA
accent
#37E6F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127B18

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

Preview Lab → · Contrast checker → · Palette generator →

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