#127C1C#127C1C

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

Color values

HEX#127C1C
RGBrgb(18, 124, 28)
HSLhsl(126, 75%, 28%)
HSVhsv(126, 85%, 49%)
CMYKcmyk(85.5%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.12, -47.41, 41.68)
CIE-LCHlch(45.12, 63.13, 138.68°)
OKLaboklab(51.14% -0.1282 0.0941)
OKLCHoklch(51.14% 0.159 143.7)
XYZxyz(7.6662, 14.6268, 3.5176)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C1C #7C1272
analogous
#3D7C12 #127C1C #127C51
triadic
#127C1C #1C127C #7C1C12
tetradic
#127C1C #123D7C #7C1272 #7C5112
square
#127C1C #123D7C #7C1272 #7C5112
split-complementary
#127C1C #51127C #7C123D
monochromatic
#041B06 #0A4710 #127C1C #1AB128 #29E03A

Accessibility & contrast

On white

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

On black

3.93
#127C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127C1C#FFFFFF#000000##FFFFFF
##127C1C1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F08
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c1c;
/* rgb */ color: rgb(18, 124, 28);
/* oklch */ color: oklch(51.1% 0.159 143.7);
Tailwind
colors: {
  custom: {
    50: '#67a35f',
    500: '#127c1c',
    950: '#000000',
  },
}
SCSS
$custom: #127c1c;
$custom-light: #67a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#127c1c",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 125.66,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51138,
    "c": 0.15908,
    "h": 143.7
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#127C1C
secondary
#B238A6
accent
#37E0F1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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