#127E1D#127E1D

#127E1D is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.161 H 143.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#127E1D
RGBrgb(18, 126, 29)
HSLhsl(126, 75%, 28%)
HSVhsv(126, 86%, 49%)
CMYKcmyk(85.7%, 0%, 77%, 50.6%)
CIE-LABlab(45.82, -47.98, 42.01)
CIE-LCHlch(45.82, 63.77, 138.80°)
OKLaboklab(51.73% -0.1297 0.0949)
OKLCHoklch(51.73% 0.161 143.8)
XYZxyz(7.9315, 15.1380, 3.6661)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E1D #7E1273
analogous
#3D7E12 #127E1D #127E53
triadic
#127E1D #1D127E #7E1D12
tetradic
#127E1D #123D7E #7E1273 #7E5312
square
#127E1D #123D7E #7E1273 #7E5312
split-complementary
#127E1D #53127E #7E123D
monochromatic
#041B06 #0A4811 #127E1D #1AB429 #2AE13C

Accessibility & contrast

On white

5.21
#127E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#127E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E1D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E1D#FFFFFF#000000##FFFFFF
##127E1D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e1d;
/* rgb */ color: rgb(18, 126, 29);
/* oklch */ color: oklch(51.7% 0.161 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a460',
    500: '#127e1d',
    950: '#000000',
  },
}
SCSS
$custom: #127e1d;
$custom-light: #68a460;
$custom-dark: #000000;
JSON
{
  "hex": "#127e1d",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 126.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.16078,
    "h": 143.8
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#127E1D
secondary
#B438A7
accent
#36DFF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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