#128335#128335

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

Color values

HEX#128335
RGBrgb(18, 131, 53)
HSLhsl(139, 76%, 29%)
HSVhsv(139, 86%, 51%)
CMYKcmyk(86.3%, 0%, 59.5%, 48.6%)
CIE-LABlab(47.77, -46.93, 33.43)
CIE-LCHlch(47.77, 57.61, 144.54°)
OKLaboklab(53.42% -0.126 0.0794)
OKLCHoklch(53.42% 0.149 147.8)
XYZxyz(9.0076, 16.6171, 6.1002)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128335 #831260
analogous
#288312 #128335 #12836E
triadic
#128335 #351283 #833512
tetradic
#128335 #122883 #831260 #836E12
square
#128335 #122883 #831260 #836E12
split-complementary
#128335 #6E1283 #831228
monochromatic
#041B0B #0B4D1F #128335 #19B94B #2DE265

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128335#FFFFFF#000000##FFFFFF
##1283351.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)
#84762D
Deuteranopia (green-blind)
#786E3B
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128335;
/* rgb */ color: rgb(18, 131, 53);
/* oklch */ color: oklch(53.4% 0.149 147.8);
Tailwind
colors: {
  custom: {
    50: '#68a86f',
    500: '#128335',
    950: '#000000',
  },
}
SCSS
$custom: #128335;
$custom-light: #68a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#128335",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 138.584,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.14892,
    "h": 147.8
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#128335
secondary
#B83891
accent
#35B8F2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #128335

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

Preview Lab → · Contrast checker → · Palette generator →

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