#128E18#128E18

#128E18 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.181 H 143.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#128E18
RGBrgb(18, 142, 24)
HSLhsl(123, 78%, 31%)
HSVhsv(123, 87%, 56%)
CMYKcmyk(87.3%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.31, -53.42, 49.00)
CIE-LCHlch(51.31, 72.49, 137.47°)
OKLaboklab(56.29% -0.1447 0.1088)
OKLCHoklch(56.29% 0.181 143.1)
XYZxyz(10.0867, 19.5393, 4.1038)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128E18 #8E1288
analogous
#4A8E12 #128E18 #128E56
triadic
#128E18 #18128E #8E1812
tetradic
#128E18 #124A8E #8E1288 #8E5612
square
#128E18 #124A8E #8E1288 #8E5612
split-complementary
#128E18 #56128E #8E124A
monochromatic
#042106 #0B580F #128E18 #19C421 #35E53E

Accessibility & contrast

On white

4.28
#128E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#128E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128E18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128E18#FFFFFF#000000##000000
##128E181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #128e18;
/* rgb */ color: rgb(18, 142, 24);
/* oklch */ color: oklch(56.3% 0.181 143.1);
Tailwind
colors: {
  custom: {
    50: '#6cb060',
    500: '#128e18',
    950: '#000000',
  },
}
SCSS
$custom: #128e18;
$custom-light: #6cb060;
$custom-dark: #000000;
JSON
{
  "hex": "#128e18",
  "rgb": {
    "r": 18,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 122.903,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.18109,
    "h": 143.1
  },
  "luminance": 0.19541
}

Semantic roles & 50–950 ramp

primary
#128E18
secondary
#C23ABC
accent
#34EBF4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #128E18

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

Preview Lab → · Contrast checker → · Palette generator →

#128E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva