#128F18#128F18

#128F18 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.182 H 143.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#128F18
RGBrgb(18, 143, 24)
HSLhsl(123, 78%, 32%)
HSVhsv(123, 87%, 56%)
CMYKcmyk(87.4%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.65, -53.73, 49.32)
CIE-LCHlch(51.65, 72.93, 137.45°)
OKLaboklab(56.57% -0.1456 0.1095)
OKLCHoklch(56.57% 0.182 143.1)
XYZxyz(10.2361, 19.8382, 4.1536)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F18 #8F1289
analogous
#4B8F12 #128F18 #128F57
triadic
#128F18 #18128F #8F1812
tetradic
#128F18 #124B8F #8F1289 #8F5712
square
#128F18 #124B8F #8F1289 #8F5712
split-complementary
#128F18 #57128F #8F124B
monochromatic
#042206 #0B590F #128F18 #19C521 #36E63E

Accessibility & contrast

On white

4.23
#128F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#128F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F18#FFFFFF#000000##000000
##128F181.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f18;
/* rgb */ color: rgb(18, 143, 24);
/* oklch */ color: oklch(56.6% 0.182 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db160',
    500: '#128f18',
    950: '#000000',
  },
}
SCSS
$custom: #128f18;
$custom-light: #6db160;
$custom-dark: #000000;
JSON
{
  "hex": "#128f18",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 122.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.18216,
    "h": 143.1
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #128F18

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

Preview Lab → · Contrast checker → · Palette generator →

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