#128336#128336

#128336 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.148 H 148.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#128336
RGBrgb(18, 131, 54)
HSLhsl(139, 76%, 29%)
HSVhsv(139, 86%, 51%)
CMYKcmyk(86.3%, 0%, 58.8%, 48.6%)
CIE-LABlab(47.79, -46.78, 32.94)
CIE-LCHlch(47.79, 57.21, 144.85°)
OKLaboklab(53.43% -0.1256 0.0784)
OKLCHoklch(53.43% 0.148 148)
XYZxyz(9.0309, 16.6264, 6.2226)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128336 #83125F
analogous
#278312 #128336 #12836F
triadic
#128336 #361283 #833612
tetradic
#128336 #122783 #83125F #836F12
square
#128336 #122783 #83125F #836F12
split-complementary
#128336 #6F1283 #831227
monochromatic
#041B0B #0B4D20 #128336 #19B94C #2DE267

Accessibility & contrast

On white

4.85
#128336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#128336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128336
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128336#FFFFFF#000000##FFFFFF
##1283361.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762E
Deuteranopia (green-blind)
#786E3C
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128336;
/* rgb */ color: rgb(18, 131, 54);
/* oklch */ color: oklch(53.4% 0.148 148.0);
Tailwind
colors: {
  custom: {
    50: '#68a86f',
    500: '#128336',
    950: '#000000',
  },
}
SCSS
$custom: #128336;
$custom-light: #68a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#128336",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 139.115,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.14805,
    "h": 148
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#128336
secondary
#B83890
accent
#35B6F2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #128336

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

Preview Lab → · Contrast checker → · Palette generator →

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