#127128#127128

#127128 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.137 H 146.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#127128
RGBrgb(18, 113, 40)
HSLhsl(134, 73%, 26%)
HSVhsv(134, 84%, 44%)
CMYKcmyk(84.1%, 0%, 64.6%, 55.7%)
CIE-LABlab(41.36, -42.39, 32.43)
CIE-LCHlch(41.36, 53.37, 142.58°)
OKLaboklab(48.05% -0.1141 0.0761)
OKLCHoklch(48.05% 0.137 146.3)
XYZxyz(6.5371, 12.0913, 3.9964)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127128 #71125B
analogous
#2B7112 #127128 #127157
triadic
#127128 #281271 #712812
tetradic
#127128 #122B71 #71125B #715712
square
#127128 #122B71 #71125B #715712
split-complementary
#127128 #571271 #71122B
monochromatic
#041A09 #0A3C15 #127128 #1AA63B #23DB4D

Accessibility & contrast

On white

6.14
#127128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#127128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127128
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127128#FFFFFF#000000##FFFFFF
##1271281.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#685F2E
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127128;
/* rgb */ color: rgb(18, 113, 40);
/* oklch */ color: oklch(48.0% 0.137 146.3);
Tailwind
colors: {
  custom: {
    50: '#639b65',
    500: '#127128',
    950: '#000000',
  },
}
SCSS
$custom: #127128;
$custom-light: #639b65;
$custom-dark: #000000;
JSON
{
  "hex": "#127128",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 133.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48047,
    "c": 0.13712,
    "h": 146.3
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#127128
secondary
#A8378E
accent
#39C5EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127128

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

Preview Lab → · Contrast checker → · Palette generator →

#127128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva