#127C18#127C18

#127C18 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.161 H 143.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#127C18
RGBrgb(18, 124, 24)
HSLhsl(123, 75%, 28%)
HSVhsv(123, 85%, 49%)
CMYKcmyk(85.5%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.09, -47.72, 43.09)
CIE-LCHlch(45.09, 64.30, 137.92°)
OKLaboklab(51.11% -0.1293 0.0965)
OKLCHoklch(51.11% 0.161 143.3)
XYZxyz(7.6215, 14.6089, 3.2821)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C18 #7C1276
analogous
#417C12 #127C18 #127C4D
triadic
#127C18 #18127C #7C1812
tetradic
#127C18 #12417C #7C1276 #7C4D12
square
#127C18 #12417C #7C1276 #7C4D12
split-complementary
#127C18 #4D127C #7C1241
monochromatic
#041B05 #0A470E #127C18 #1AB122 #29E033

Accessibility & contrast

On white

5.35
#127C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#127C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C18
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C18#FFFFFF#000000##FFFFFF
##127C181.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c18;
/* rgb */ color: rgb(18, 124, 24);
/* oklch */ color: oklch(51.1% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a35d',
    500: '#127c18',
    950: '#000000',
  },
}
SCSS
$custom: #127c18;
$custom-light: #67a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#127c18",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 123.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.16132,
    "h": 143.3
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#127C18
secondary
#B238AB
accent
#37E7F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C18

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

Preview Lab → · Contrast checker → · Palette generator →

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