#128338#128338

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

Color values

HEX#128338
RGBrgb(18, 131, 56)
HSLhsl(140, 76%, 29%)
HSVhsv(140, 86%, 51%)
CMYKcmyk(86.3%, 0%, 57.3%, 48.6%)
CIE-LABlab(47.81, -46.48, 31.95)
CIE-LCHlch(47.81, 56.41, 145.50°)
OKLaboklab(53.46% -0.1247 0.0764)
OKLCHoklch(53.46% 0.146 148.5)
XYZxyz(9.0788, 16.6456, 6.4750)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128338 #83125D
analogous
#258312 #128338 #128371
triadic
#128338 #381283 #833812
tetradic
#128338 #122583 #83125D #837112
square
#128338 #122583 #83125D #837112
split-complementary
#128338 #711283 #831225
monochromatic
#041B0C #0B4D21 #128338 #19B94F #2DE26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128338#FFFFFF#000000##FFFFFF
##1283381.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)
#847731
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128338;
/* rgb */ color: rgb(18, 131, 56);
/* oklch */ color: oklch(53.5% 0.146 148.5);
Tailwind
colors: {
  custom: {
    50: '#68a871',
    500: '#128338',
    950: '#000000',
  },
}
SCSS
$custom: #128338;
$custom-light: #68a871;
$custom-dark: #000000;
JSON
{
  "hex": "#128338",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 140.177,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.14627,
    "h": 148.5
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#128338
secondary
#B8388D
accent
#35B3F2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #128338

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

Preview Lab → · Contrast checker → · Palette generator →

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