#127E15#127E15

#127E15 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.165 H 142.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#127E15
RGBrgb(18, 126, 21)
HSLhsl(122, 75%, 28%)
HSVhsv(122, 86%, 49%)
CMYKcmyk(85.7%, 0%, 83.3%, 50.6%)
CIE-LABlab(45.78, -48.57, 44.72)
CIE-LCHlch(45.78, 66.02, 137.37°)
OKLaboklab(51.67% -0.1317 0.0995)
OKLCHoklch(51.67% 0.165 142.9)
XYZxyz(7.8452, 15.1035, 3.2111)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E15 #7E127B
analogous
#457E12 #127E15 #127E4B
triadic
#127E15 #15127E #7E1512
tetradic
#127E15 #12457E #7E127B #7E4B12
square
#127E15 #12457E #7E127B #7E4B12
split-complementary
#127E15 #4B127E #7E1245
monochromatic
#041B04 #0A480C #127E15 #1AB41E #2AE12F

Accessibility & contrast

On white

5.22
#127E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E15
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E15#FFFFFF#000000##FFFFFF
##127E151.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e15;
/* rgb */ color: rgb(18, 126, 21);
/* oklch */ color: oklch(51.7% 0.165 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a45c',
    500: '#127e15',
    950: '#000000',
  },
}
SCSS
$custom: #127e15;
$custom-light: #68a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#127e15",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 121.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.16504,
    "h": 142.9
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#127E15
secondary
#B438B0
accent
#36ECF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #127E15

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

Preview Lab → · Contrast checker → · Palette generator →

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