#127F17#127F17

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

Color values

HEX#127F17
RGBrgb(18, 127, 23)
HSLhsl(123, 75%, 28%)
HSVhsv(123, 86%, 50%)
CMYKcmyk(85.8%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.13, -48.76, 44.42)
CIE-LCHlch(46.13, 65.96, 137.67°)
OKLaboklab(51.98% -0.1321 0.0991)
OKLCHoklch(51.98% 0.165 143.1)
XYZxyz(7.9930, 15.3682, 3.3555)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F17 #7F127A
analogous
#437F12 #127F17 #127F4D
triadic
#127F17 #17127F #7F1712
tetradic
#127F17 #12437F #7F127A #7F4D12
square
#127F17 #12437F #7F127A #7F4D12
split-complementary
#127F17 #4D127F #7F1243
monochromatic
#041B05 #0A490D #127F17 #1AB521 #2BE133

Accessibility & contrast

On white

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

On black

4.07
#127F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127F17#FFFFFF#000000##FFFFFF
##127F171.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f17;
/* rgb */ color: rgb(18, 127, 23);
/* oklch */ color: oklch(52.0% 0.165 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a55d',
    500: '#127f17',
    950: '#000000',
  },
}
SCSS
$custom: #127f17;
$custom-light: #68a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#127f17",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 122.752,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.16518,
    "h": 143.1
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#127F17
secondary
#B538AF
accent
#36E9F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F17

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

Preview Lab → · Contrast checker → · Palette generator →

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