#128333#128333

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

Color values

HEX#128333
RGBrgb(18, 131, 51)
HSLhsl(138, 76%, 29%)
HSVhsv(138, 86%, 51%)
CMYKcmyk(86.3%, 0%, 61.1%, 48.6%)
CIE-LABlab(47.75, -47.21, 34.39)
CIE-LCHlch(47.75, 58.41, 143.93°)
OKLaboklab(53.39% -0.1268 0.0813)
OKLCHoklch(53.39% 0.151 147.3)
XYZxyz(8.9626, 16.5991, 5.8629)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128333 #831262
analogous
#2A8312 #128333 #12836C
triadic
#128333 #331283 #833312
tetradic
#128333 #122A83 #831262 #836C12
square
#128333 #122A83 #831262 #836C12
split-complementary
#128333 #6C1283 #83122A
monochromatic
#041B0A #0B4D1E #128333 #19B948 #2DE262

Accessibility & contrast

On white

4.86
#128333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#128333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128333
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128333#FFFFFF#000000##FFFFFF
##1283331.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85762B
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128333;
/* rgb */ color: rgb(18, 131, 51);
/* oklch */ color: oklch(53.4% 0.151 147.3);
Tailwind
colors: {
  custom: {
    50: '#68a86d',
    500: '#128333',
    950: '#000000',
  },
}
SCSS
$custom: #128333;
$custom-light: #68a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#128333",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 51
  },
  "hsl": {
    "h": 137.522,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.15064,
    "h": 147.3
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#128333
secondary
#B83893
accent
#35BBF2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #128333

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

Preview Lab → · Contrast checker → · Palette generator →

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