#128F20#128F20

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

Color values

HEX#128F20
RGBrgb(18, 143, 32)
HSLhsl(127, 78%, 32%)
HSVhsv(127, 87%, 56%)
CMYKcmyk(87.4%, 0%, 77.6%, 43.9%)
CIE-LABlab(51.70, -53.17, 46.77)
CIE-LCHlch(51.70, 70.82, 138.67°)
OKLaboklab(56.62% -0.1438 0.1053)
OKLCHoklch(56.62% 0.178 143.8)
XYZxyz(10.3319, 19.8765, 4.6582)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F20 #8F1281
analogous
#438F12 #128F20 #128F5F
triadic
#128F20 #20128F #8F2012
tetradic
#128F20 #12438F #8F1281 #8F5F12
square
#128F20 #12438F #8F1281 #8F5F12
split-complementary
#128F20 #5F128F #8F1243
monochromatic
#042208 #0B5914 #128F20 #19C52C #36E649

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F20#FFFFFF#000000##000000
##128F201.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)
#928106
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f20;
/* rgb */ color: rgb(18, 143, 32);
/* oklch */ color: oklch(56.6% 0.178 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cb164',
    500: '#128f20',
    950: '#000000',
  },
}
SCSS
$custom: #128f20;
$custom-light: #6cb164;
$custom-dark: #000000;
JSON
{
  "hex": "#128f20",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 126.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.17819,
    "h": 143.8
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#128F20
secondary
#C33AB4
accent
#34DFF4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F20

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

Preview Lab → · Contrast checker → · Palette generator →

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