#128F19#128F19

#128F19 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#128F19
RGBrgb(18, 143, 25)
HSLhsl(123, 78%, 32%)
HSVhsv(123, 87%, 56%)
CMYKcmyk(87.4%, 0%, 82.5%, 43.9%)
CIE-LABlab(51.66, -53.66, 49.03)
CIE-LCHlch(51.66, 72.69, 137.59°)
OKLaboklab(56.58% -0.1454 0.109)
OKLCHoklch(56.58% 0.182 143.1)
XYZxyz(10.2467, 19.8424, 4.2094)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F19 #8F1288
analogous
#4A8F12 #128F19 #128F58
triadic
#128F19 #19128F #8F1912
tetradic
#128F19 #124A8F #8F1288 #8F5812
square
#128F19 #124A8F #8F1288 #8F5812
split-complementary
#128F19 #58128F #8F124A
monochromatic
#042206 #0B590F #128F19 #19C523 #36E640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #128f19;
/* rgb */ color: rgb(18, 143, 25);
/* oklch */ color: oklch(56.6% 0.182 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db161',
    500: '#128f19',
    950: '#000000',
  },
}
SCSS
$custom: #128f19;
$custom-light: #6db161;
$custom-dark: #000000;
JSON
{
  "hex": "#128f19",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 123.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.18172,
    "h": 143.1
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#128F19
secondary
#C33ABB
accent
#34E9F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #128F19

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

Preview Lab → · Contrast checker → · Palette generator →

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