#127F15#127F15

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

Color values

HEX#127F15
RGBrgb(18, 127, 21)
HSLhsl(122, 75%, 28%)
HSVhsv(122, 86%, 50%)
CMYKcmyk(85.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.12, -48.89, 45.05)
CIE-LCHlch(46.12, 66.48, 137.35°)
OKLaboklab(51.96% -0.1326 0.1001)
OKLCHoklch(51.96% 0.166 142.9)
XYZxyz(7.9737, 15.3605, 3.2540)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F15 #7F127C
analogous
#457F12 #127F15 #127F4B
triadic
#127F15 #15127F #7F1512
tetradic
#127F15 #12457F #7F127C #7F4B12
square
#127F15 #12457F #7F127C #7F4B12
split-complementary
#127F15 #4B127F #7F1245
monochromatic
#041B04 #0A490C #127F15 #1AB51E #2BE130

Accessibility & contrast

On white

5.16
#127F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F15
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F15#FFFFFF#000000##FFFFFF
##127F151.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127f15;
/* rgb */ color: rgb(18, 127, 21);
/* oklch */ color: oklch(52.0% 0.166 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a55d',
    500: '#127f15',
    950: '#000000',
  },
}
SCSS
$custom: #127f15;
$custom-light: #68a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#127f15",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 121.651,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.16614,
    "h": 142.9
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#127F15
secondary
#B538B1
accent
#36EDF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F15

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

Preview Lab → · Contrast checker → · Palette generator →

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