#127628#127628

#127628 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.143 H 145.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#127628
RGBrgb(18, 118, 40)
HSLhsl(133, 74%, 27%)
HSVhsv(133, 85%, 46%)
CMYKcmyk(84.7%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.12, -44.15, 34.42)
CIE-LCHlch(43.12, 55.98, 142.06°)
OKLaboklab(49.51% -0.1188 0.0804)
OKLCHoklch(49.51% 0.143 145.9)
XYZxyz(7.1104, 13.2378, 4.1875)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127628 #761260
analogous
#2E7612 #127628 #12765A
triadic
#127628 #281276 #762812
tetradic
#127628 #122E76 #761260 #765A12
square
#127628 #122E76 #761260 #765A12
split-complementary
#127628 #5A1276 #76122E
monochromatic
#041B09 #0A4116 #127628 #1AAB3A #25DE4D

Accessibility & contrast

On white

5.76
#127628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#127628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127628
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127628#FFFFFF#000000##FFFFFF
##1276281.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1F
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #127628;
/* rgb */ color: rgb(18, 118, 40);
/* oklch */ color: oklch(49.5% 0.143 145.9);
Tailwind
colors: {
  custom: {
    50: '#659f65',
    500: '#127628',
    950: '#000000',
  },
}
SCSS
$custom: #127628;
$custom-light: #659f65;
$custom-dark: #000000;
JSON
{
  "hex": "#127628",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 133.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.14345,
    "h": 145.9
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#127628
secondary
#AD3793
accent
#38C8F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #127628

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

Preview Lab → · Contrast checker → · Palette generator →

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