#128F1A#128F1A

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

Color values

HEX#128F1A
RGBrgb(18, 143, 26)
HSLhsl(124, 78%, 32%)
HSVhsv(124, 87%, 56%)
CMYKcmyk(87.4%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.66, -53.60, 48.73)
CIE-LCHlch(51.66, 72.44, 137.73°)
OKLaboklab(56.58% -0.1452 0.1085)
OKLCHoklch(56.58% 0.181 143.2)
XYZxyz(10.2577, 19.8468, 4.2673)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F1A #8F1287
analogous
#498F12 #128F1A #128F59
triadic
#128F1A #1A128F #8F1A12
tetradic
#128F1A #12498F #8F1287 #8F5912
square
#128F1A #12498F #8F1287 #8F5912
split-complementary
#128F1A #59128F #8F1249
monochromatic
#042206 #0B5910 #128F1A #19C524 #36E641

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F1A#FFFFFF#000000##000000
##128F1A1.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)
#928100
Deuteranopia (green-blind)
#857829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f1a;
/* rgb */ color: rgb(18, 143, 26);
/* oklch */ color: oklch(56.6% 0.181 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db161',
    500: '#128f1a',
    950: '#000000',
  },
}
SCSS
$custom: #128f1a;
$custom-light: #6db161;
$custom-dark: #000000;
JSON
{
  "hex": "#128f1a",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 123.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.18125,
    "h": 143.2
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#128F1A
secondary
#C33ABA
accent
#34E8F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #128F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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