#127F1D#127F1D

#127F1D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.162 H 143.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#127F1D
RGBrgb(18, 127, 29)
HSLhsl(126, 75%, 28%)
HSVhsv(126, 86%, 50%)
CMYKcmyk(85.8%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.17, -48.31, 42.36)
CIE-LCHlch(46.17, 64.25, 138.75°)
OKLaboklab(52.02% -0.1306 0.0957)
OKLCHoklch(52.02% 0.162 143.8)
XYZxyz(8.0600, 15.3950, 3.7089)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F1D #7F1274
analogous
#3D7F12 #127F1D #127F53
triadic
#127F1D #1D127F #7F1D12
tetradic
#127F1D #123D7F #7F1274 #7F5312
square
#127F1D #123D7F #7F1274 #7F5312
split-complementary
#127F1D #53127F #7F123D
monochromatic
#041B06 #0A4911 #127F1D #1AB529 #2BE13D

Accessibility & contrast

On white

5.15
#127F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#127F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F1D#FFFFFF#000000##FFFFFF
##127F1D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f1d;
/* rgb */ color: rgb(18, 127, 29);
/* oklch */ color: oklch(52.0% 0.162 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a560',
    500: '#127f1d',
    950: '#000000',
  },
}
SCSS
$custom: #127f1d;
$custom-light: #68a560;
$custom-dark: #000000;
JSON
{
  "hex": "#127f1d",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 126.055,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.16192,
    "h": 143.8
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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