#128F26#128F26

#128F26 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.175 H 144.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#128F26
RGBrgb(18, 143, 38)
HSLhsl(130, 78%, 32%)
HSVhsv(130, 87%, 56%)
CMYKcmyk(87.4%, 0%, 73.4%, 43.9%)
CIE-LABlab(51.74, -52.66, 44.57)
CIE-LCHlch(51.74, 68.99, 139.76°)
OKLaboklab(56.67% -0.1421 0.1015)
OKLCHoklch(56.67% 0.175 144.5)
XYZxyz(10.4210, 19.9121, 5.1275)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F26 #8F127B
analogous
#3D8F12 #128F26 #128F65
triadic
#128F26 #26128F #8F2612
tetradic
#128F26 #123D8F #8F127B #8F6512
square
#128F26 #123D8F #8F127B #8F6512
split-complementary
#128F26 #65128F #8F123D
monochromatic
#042209 #0B5918 #128F26 #19C534 #36E652

Accessibility & contrast

On white

4.21
#128F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#128F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F26
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F26#FFFFFF#000000##000000
##128F261.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f26;
/* rgb */ color: rgb(18, 143, 38);
/* oklch */ color: oklch(56.7% 0.175 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cb167',
    500: '#128f26',
    950: '#000000',
  },
}
SCSS
$custom: #128f26;
$custom-light: #6cb167;
$custom-dark: #000000;
JSON
{
  "hex": "#128f26",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 129.6,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.17464,
    "h": 144.5
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#128F26
secondary
#C33AAD
accent
#34D5F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F26

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

Preview Lab → · Contrast checker → · Palette generator →

#128F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva