#128120#128120

#128120 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.162 H 144.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#128120
RGBrgb(18, 129, 32)
HSLhsl(128, 76%, 29%)
HSVhsv(128, 86%, 51%)
CMYKcmyk(86%, 0%, 75.2%, 49.4%)
CIE-LABlab(46.89, -48.70, 41.93)
CIE-LCHlch(46.89, 64.26, 139.27°)
OKLaboklab(52.62% -0.1316 0.0952)
OKLCHoklch(52.62% 0.162 144.1)
XYZxyz(8.3598, 15.9324, 4.0009)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128120 #811273
analogous
#3C8112 #128120 #128158
triadic
#128120 #201281 #812012
tetradic
#128120 #123C81 #811273 #815812
square
#128120 #123C81 #811273 #815812
split-complementary
#128120 #581281 #81123C
monochromatic
#041B07 #0B4B13 #128120 #19B72D #2CE243

Accessibility & contrast

On white

5.02
#128120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#128120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128120
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128120#FFFFFF#000000##FFFFFF
##1281201.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128120;
/* rgb */ color: rgb(18, 129, 32);
/* oklch */ color: oklch(52.6% 0.162 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a762',
    500: '#128120',
    950: '#000000',
  },
}
SCSS
$custom: #128120;
$custom-light: #68a762;
$custom-dark: #000000;
JSON
{
  "hex": "#128120",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 127.568,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.1624,
    "h": 144.1
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#128120
secondary
#B738A7
accent
#36DAF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #128120

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

Preview Lab → · Contrast checker → · Palette generator →

#128120 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva