#127F12#127F12

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

Color values

HEX#127F12
RGBrgb(18, 127, 18)
HSLhsl(120, 75%, 28%)
HSVhsv(120, 86%, 50%)
CMYKcmyk(85.8%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.11, -49.07, 45.91)
CIE-LCHlch(46.11, 67.20, 136.91°)
OKLaboklab(51.95% -0.1332 0.1015)
OKLCHoklch(51.95% 0.167 142.7)
XYZxyz(7.9475, 15.3500, 3.1161)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F12 #7F127F
analogous
#487F12 #127F12 #127F48
triadic
#127F12 #12127F #7F1212
tetradic
#127F12 #12487F #7F127F #7F4812
square
#127F12 #12487F #7F127F #7F4812
split-complementary
#127F12 #48127F #7F1248
monochromatic
#041B04 #0A490A #127F12 #1AB51A #2BE12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F12#FFFFFF#000000##FFFFFF
##127F121.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)
#776A21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f12;
/* rgb */ color: rgb(18, 127, 18);
/* oklch */ color: oklch(51.9% 0.167 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a55b',
    500: '#127f12',
    950: '#000000',
  },
}
SCSS
$custom: #127f12;
$custom-light: #68a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#127f12",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.16746,
    "h": 142.7
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#127F12
secondary
#B538B5
accent
#36F2F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #127F12

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

Preview Lab → · Contrast checker → · Palette generator →

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