#128331#128331

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

Color values

HEX#128331
RGBrgb(18, 131, 49)
HSLhsl(136, 76%, 29%)
HSVhsv(136, 86%, 51%)
CMYKcmyk(86.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(47.73, -47.48, 35.34)
CIE-LCHlch(47.73, 59.19, 143.34°)
OKLaboklab(53.37% -0.1276 0.0832)
OKLCHoklch(53.37% 0.152 146.9)
XYZxyz(8.9194, 16.5818, 5.6357)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128331 #831264
analogous
#2C8312 #128331 #12836A
triadic
#128331 #311283 #833112
tetradic
#128331 #122C83 #831264 #836A12
square
#128331 #122C83 #831264 #836A12
split-complementary
#128331 #6A1283 #83122C
monochromatic
#041B0A #0B4D1D #128331 #19B945 #2DE25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128331#FFFFFF#000000##FFFFFF
##1283311.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)
#857628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128331;
/* rgb */ color: rgb(18, 131, 49);
/* oklch */ color: oklch(53.4% 0.152 146.9);
Tailwind
colors: {
  custom: {
    50: '#68a86c',
    500: '#128331',
    950: '#000000',
  },
}
SCSS
$custom: #128331;
$custom-light: #68a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#128331",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 136.46,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.15232,
    "h": 146.9
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#128331
secondary
#B83895
accent
#35BFF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #128331

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

Preview Lab → · Contrast checker → · Palette generator →

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