#127C1D#127C1D

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

Color values

HEX#127C1D
RGBrgb(18, 124, 29)
HSLhsl(126, 75%, 28%)
HSVhsv(126, 85%, 49%)
CMYKcmyk(85.5%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.13, -47.33, 41.31)
CIE-LCHlch(45.13, 62.82, 138.89°)
OKLaboklab(51.15% -0.128 0.0935)
OKLCHoklch(51.15% 0.158 143.9)
XYZxyz(7.6784, 14.6317, 3.5817)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C1D #7C1271
analogous
#3C7C12 #127C1D #127C52
triadic
#127C1D #1D127C #7C1D12
tetradic
#127C1D #123C7C #7C1271 #7C5212
square
#127C1D #123C7C #7C1271 #7C5212
split-complementary
#127C1D #52127C #7C123C
monochromatic
#041B06 #0A4711 #127C1D #1AB129 #29E03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127C1D#FFFFFF#000000##FFFFFF
##127C1D1.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)
#7F6F0B
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c1d;
/* rgb */ color: rgb(18, 124, 29);
/* oklch */ color: oklch(51.1% 0.158 143.9);
Tailwind
colors: {
  custom: {
    50: '#67a360',
    500: '#127c1d',
    950: '#000000',
  },
}
SCSS
$custom: #127c1d;
$custom-light: #67a360;
$custom-dark: #000000;
JSON
{
  "hex": "#127c1d",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 126.226,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.15848,
    "h": 143.9
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#127C1D
secondary
#B238A5
accent
#37DEF1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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