#128026#128026

#128026 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.157 H 145.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#128026
RGBrgb(18, 128, 38)
HSLhsl(131, 75%, 29%)
HSVhsv(131, 86%, 50%)
CMYKcmyk(85.9%, 0%, 70.3%, 49.8%)
CIE-LABlab(46.59, -47.78, 39.14)
CIE-LCHlch(46.59, 61.76, 140.68°)
OKLaboklab(52.38% -0.1288 0.0901)
OKLCHoklch(52.38% 0.157 145)
XYZxyz(8.3179, 15.7058, 4.4265)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128026 #80126C
analogous
#358012 #128026 #12805D
triadic
#128026 #261280 #802612
tetradic
#128026 #123580 #80126C #805D12
square
#128026 #123580 #80126C #805D12
split-complementary
#128026 #5D1280 #801235
monochromatic
#041B08 #0A4A16 #128026 #1AB636 #2BE14C

Accessibility & contrast

On white

5.07
#128026 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#128026 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128026
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128026#FFFFFF#000000##FFFFFF
##1280261.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827319
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128026;
/* rgb */ color: rgb(18, 128, 38);
/* oklch */ color: oklch(52.4% 0.157 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a665',
    500: '#128026',
    950: '#000000',
  },
}
SCSS
$custom: #128026;
$custom-light: #68a665;
$custom-dark: #000000;
JSON
{
  "hex": "#128026",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 130.909,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.1572,
    "h": 145
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#128026
secondary
#B6389F
accent
#36D0F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128026

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

Preview Lab → · Contrast checker → · Palette generator →

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