#128334#128334

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

Color values

HEX#128334
RGBrgb(18, 131, 52)
HSLhsl(138, 76%, 29%)
HSVhsv(138, 86%, 51%)
CMYKcmyk(86.3%, 0%, 60.3%, 48.6%)
CIE-LABlab(47.76, -47.07, 33.91)
CIE-LCHlch(47.76, 58.01, 144.23°)
OKLaboklab(53.41% -0.1264 0.0804)
OKLCHoklch(53.41% 0.15 147.6)
XYZxyz(8.9849, 16.6080, 5.9803)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128334 #831261
analogous
#298312 #128334 #12836D
triadic
#128334 #341283 #833412
tetradic
#128334 #122983 #831261 #836D12
square
#128334 #122983 #831261 #836D12
split-complementary
#128334 #6D1283 #831229
monochromatic
#041B0B #0B4D1F #128334 #19B949 #2DE264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128334#FFFFFF#000000##FFFFFF
##1283341.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)
#85762C
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128334;
/* rgb */ color: rgb(18, 131, 52);
/* oklch */ color: oklch(53.4% 0.150 147.6);
Tailwind
colors: {
  custom: {
    50: '#68a86e',
    500: '#128334',
    950: '#000000',
  },
}
SCSS
$custom: #128334;
$custom-light: #68a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#128334",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 138.053,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.14979,
    "h": 147.6
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#128334
secondary
#B83892
accent
#35BAF2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #128334

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

Preview Lab → · Contrast checker → · Palette generator →

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