#128F1B#128F1B

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

Color values

HEX#128F1B
RGBrgb(18, 143, 27)
HSLhsl(124, 78%, 32%)
HSVhsv(124, 87%, 56%)
CMYKcmyk(87.4%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.67, -53.53, 48.42)
CIE-LCHlch(51.67, 72.18, 137.87°)
OKLaboklab(56.59% -0.1449 0.108)
OKLCHoklch(56.59% 0.181 143.3)
XYZxyz(10.2691, 19.8514, 4.3272)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F1B #8F1286
analogous
#488F12 #128F1B #128F5A
triadic
#128F1B #1B128F #8F1B12
tetradic
#128F1B #12488F #8F1286 #8F5A12
square
#128F1B #12488F #8F1286 #8F5A12
split-complementary
#128F1B #5A128F #8F1248
monochromatic
#042206 #0B5911 #128F1B #19C525 #36E642

Accessibility & contrast

On white

4.22
#128F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F1B#FFFFFF#000000##000000
##128F1B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#857829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f1b;
/* rgb */ color: rgb(18, 143, 27);
/* oklch */ color: oklch(56.6% 0.181 143.3);
Tailwind
colors: {
  custom: {
    50: '#6cb162',
    500: '#128f1b',
    950: '#000000',
  },
}
SCSS
$custom: #128f1b;
$custom-light: #6cb162;
$custom-dark: #000000;
JSON
{
  "hex": "#128f1b",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 124.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.18077,
    "h": 143.3
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#128F1B
secondary
#C33AB9
accent
#34E6F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #128F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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