#128F29#128F29

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

Color values

HEX#128F29
RGBrgb(18, 143, 41)
HSLhsl(131, 78%, 32%)
HSVhsv(131, 87%, 56%)
CMYKcmyk(87.4%, 0%, 71.3%, 43.9%)
CIE-LABlab(51.76, -52.38, 43.38)
CIE-LCHlch(51.76, 68.01, 140.37°)
OKLaboklab(56.7% -0.1412 0.0994)
OKLCHoklch(56.7% 0.173 144.9)
XYZxyz(10.4714, 19.9323, 5.3928)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F29 #8F1278
analogous
#3A8F12 #128F29 #128F68
triadic
#128F29 #29128F #8F2912
tetradic
#128F29 #123A8F #8F1278 #8F6812
square
#128F29 #123A8F #8F1278 #8F6812
split-complementary
#128F29 #68128F #8F123A
monochromatic
#04220A #0B5919 #128F29 #19C539 #36E656

Accessibility & contrast

On white

4.21
#128F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#128F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F29
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F29#FFFFFF#000000##000000
##128F291.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f29;
/* rgb */ color: rgb(18, 143, 41);
/* oklch */ color: oklch(56.7% 0.173 144.9);
Tailwind
colors: {
  custom: {
    50: '#6cb169',
    500: '#128f29',
    950: '#000000',
  },
}
SCSS
$custom: #128f29;
$custom-light: #6cb169;
$custom-dark: #000000;
JSON
{
  "hex": "#128f29",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 131.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.17268,
    "h": 144.9
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#128F29
secondary
#C33AAA
accent
#34D1F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F29

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

Preview Lab → · Contrast checker → · Palette generator →

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