#127F13#127F13

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

Color values

HEX#127F13
RGBrgb(18, 127, 19)
HSLhsl(121, 75%, 28%)
HSVhsv(121, 86%, 50%)
CMYKcmyk(85.8%, 0%, 85%, 50.2%)
CIE-LABlab(46.11, -49.02, 45.63)
CIE-LCHlch(46.11, 66.97, 137.05°)
OKLaboklab(51.95% -0.133 0.1011)
OKLCHoklch(51.95% 0.167 142.8)
XYZxyz(7.9559, 15.3534, 3.1602)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F13 #7F127E
analogous
#477F12 #127F13 #127F49
triadic
#127F13 #13127F #7F1312
tetradic
#127F13 #12477F #7F127E #7F4912
square
#127F13 #12477F #7F127E #7F4912
split-complementary
#127F13 #49127F #7F1247
monochromatic
#041B04 #0A490B #127F13 #1AB51B #2BE12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F13#FFFFFF#000000##FFFFFF
##127F131.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: #127f13;
/* rgb */ color: rgb(18, 127, 19);
/* oklch */ color: oklch(52.0% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a55c',
    500: '#127f13',
    950: '#000000',
  },
}
SCSS
$custom: #127f13;
$custom-light: #68a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#127f13",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 120.55,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.16704,
    "h": 142.8
  },
  "luminance": 0.15354
}

Semantic roles & 50–950 ramp

primary
#127F13
secondary
#B538B4
accent
#36F0F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #127F13

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

Preview Lab → · Contrast checker → · Palette generator →

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