#127F1B#127F1B

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

Color values

HEX#127F1B
RGBrgb(18, 127, 27)
HSLhsl(125, 75%, 28%)
HSVhsv(125, 86%, 50%)
CMYKcmyk(85.8%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.16, -48.47, 43.08)
CIE-LCHlch(46.16, 64.85, 138.37°)
OKLaboklab(52% -0.1312 0.0969)
OKLCHoklch(52% 0.163 143.5)
XYZxyz(8.0361, 15.3855, 3.5829)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F1B #7F1276
analogous
#3F7F12 #127F1B #127F51
triadic
#127F1B #1B127F #7F1B12
tetradic
#127F1B #123F7F #7F1276 #7F5112
square
#127F1B #123F7F #7F1276 #7F5112
split-complementary
#127F1B #51127F #7F123F
monochromatic
#041B06 #0A4910 #127F1B #1AB526 #2BE13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F1B#FFFFFF#000000##FFFFFF
##127F1B1.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)
#827204
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f1b;
/* rgb */ color: rgb(18, 127, 27);
/* oklch */ color: oklch(52.0% 0.163 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a55f',
    500: '#127f1b',
    950: '#000000',
  },
}
SCSS
$custom: #127f1b;
$custom-light: #68a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#127f1b",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 124.954,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.16307,
    "h": 143.5
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#127F1B
secondary
#B538AA
accent
#36E2F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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