#128F25#128F25

#128F25 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.175 H 144.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#128F25
RGBrgb(18, 143, 37)
HSLhsl(129, 78%, 32%)
HSVhsv(129, 87%, 56%)
CMYKcmyk(87.4%, 0%, 74.1%, 43.9%)
CIE-LABlab(51.73, -52.75, 44.95)
CIE-LCHlch(51.73, 69.31, 139.57°)
OKLaboklab(56.66% -0.1424 0.1022)
OKLCHoklch(56.66% 0.175 144.3)
XYZxyz(10.4051, 19.9058, 5.0437)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F25 #8F127C
analogous
#3E8F12 #128F25 #128F64
triadic
#128F25 #25128F #8F2512
tetradic
#128F25 #123E8F #8F127C #8F6412
square
#128F25 #123E8F #8F127C #8F6412
split-complementary
#128F25 #64128F #8F123E
monochromatic
#042209 #0B5917 #128F25 #19C533 #36E650

Accessibility & contrast

On white

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

On black

4.98
#128F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F25
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F25#FFFFFF#000000##000000
##128F251.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128f25;
/* rgb */ color: rgb(18, 143, 37);
/* oklch */ color: oklch(56.7% 0.175 144.3);
Tailwind
colors: {
  custom: {
    50: '#6cb166',
    500: '#128f25',
    950: '#000000',
  },
}
SCSS
$custom: #128f25;
$custom-light: #6cb166;
$custom-dark: #000000;
JSON
{
  "hex": "#128f25",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 129.12,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.17526,
    "h": 144.3
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#128F25
secondary
#C33AAE
accent
#34D7F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F25

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

Preview Lab → · Contrast checker → · Palette generator →

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