#128021#128021

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

Color values

HEX#128021
RGBrgb(18, 128, 33)
HSLhsl(128, 75%, 29%)
HSVhsv(128, 86%, 50%)
CMYKcmyk(85.9%, 0%, 74.2%, 49.8%)
CIE-LABlab(46.55, -48.28, 41.19)
CIE-LCHlch(46.55, 63.46, 139.53°)
OKLaboklab(52.34% -0.1304 0.0938)
OKLCHoklch(52.34% 0.161 144.3)
XYZxyz(8.2426, 15.6757, 4.0299)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128021 #801271
analogous
#3A8012 #128021 #128058
triadic
#128021 #211280 #802112
tetradic
#128021 #123A80 #801271 #805812
square
#128021 #123A80 #801271 #805812
split-complementary
#128021 #581280 #80123A
monochromatic
#041B07 #0A4A13 #128021 #1AB62F #2BE144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128021#FFFFFF#000000##FFFFFF
##1280211.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)
#827311
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128021;
/* rgb */ color: rgb(18, 128, 33);
/* oklch */ color: oklch(52.3% 0.161 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a662',
    500: '#128021',
    950: '#000000',
  },
}
SCSS
$custom: #128021;
$custom-light: #68a662;
$custom-dark: #000000;
JSON
{
  "hex": "#128021",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 128.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.16061,
    "h": 144.3
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#128021
secondary
#B638A5
accent
#36D8F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #128021

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

Preview Lab → · Contrast checker → · Palette generator →

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