#128022#128022

#128022 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.160 H 144.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#128022
RGBrgb(18, 128, 34)
HSLhsl(129, 75%, 29%)
HSVhsv(129, 86%, 50%)
CMYKcmyk(85.9%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.55, -48.19, 40.79)
CIE-LCHlch(46.55, 63.13, 139.75°)
OKLaboklab(52.35% -0.1301 0.0931)
OKLCHoklch(52.35% 0.16 144.4)
XYZxyz(8.2568, 15.6814, 4.1047)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128022 #801270
analogous
#398012 #128022 #128059
triadic
#128022 #221280 #802212
tetradic
#128022 #123980 #801270 #805912
square
#128022 #123980 #801270 #805912
split-complementary
#128022 #591280 #801239
monochromatic
#041B07 #0A4A14 #128022 #1AB630 #2BE146

Accessibility & contrast

On white

5.08
#128022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#128022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128022
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128022#FFFFFF#000000##FFFFFF
##1280221.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128022;
/* rgb */ color: rgb(18, 128, 34);
/* oklch */ color: oklch(52.3% 0.160 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a663',
    500: '#128022',
    950: '#000000',
  },
}
SCSS
$custom: #128022;
$custom-light: #68a663;
$custom-dark: #000000;
JSON
{
  "hex": "#128022",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 128.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.15995,
    "h": 144.4
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#128022
secondary
#B638A3
accent
#36D7F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #128022

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

Preview Lab → · Contrast checker → · Palette generator →

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