#128F15#128F15

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

Color values

HEX#128F15
RGBrgb(18, 143, 21)
HSLhsl(121, 78%, 32%)
HSVhsv(121, 87%, 56%)
CMYKcmyk(87.4%, 0%, 85.3%, 43.9%)
CIE-LABlab(51.64, -53.90, 50.14)
CIE-LCHlch(51.64, 73.62, 137.06°)
OKLaboklab(56.56% -0.1462 0.1108)
OKLCHoklch(56.56% 0.183 142.8)
XYZxyz(10.2066, 19.8264, 3.9983)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F15 #8F128C
analogous
#4E8F12 #128F15 #128F54
triadic
#128F15 #15128F #8F1512
tetradic
#128F15 #124E8F #8F128C #8F5412
square
#128F15 #124E8F #8F128C #8F5412
split-complementary
#128F15 #54128F #8F124E
monochromatic
#042205 #0B590D #128F15 #19C51D #36E63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F15#FFFFFF#000000##000000
##128F151.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)
#867826
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f15;
/* rgb */ color: rgb(18, 143, 21);
/* oklch */ color: oklch(56.6% 0.183 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db15f',
    500: '#128f15',
    950: '#000000',
  },
}
SCSS
$custom: #128f15;
$custom-light: #6db15f;
$custom-dark: #000000;
JSON
{
  "hex": "#128f15",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 121.44,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56558,
    "c": 0.18341,
    "h": 142.8
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#128F15
secondary
#C33AC0
accent
#34F0F4
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#081105
muted
#7B8079

Preview Lab

Preview with #128F15

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

Preview Lab → · Contrast checker → · Palette generator →

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