#128024#128024

#128024 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.159 H 144.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#128024
RGBrgb(18, 128, 36)
HSLhsl(130, 75%, 29%)
HSVhsv(130, 86%, 50%)
CMYKcmyk(85.9%, 0%, 71.9%, 49.8%)
CIE-LABlab(46.57, -47.99, 39.98)
CIE-LCHlch(46.57, 62.46, 140.20°)
OKLaboklab(52.36% -0.1295 0.0916)
OKLCHoklch(52.36% 0.159 144.7)
XYZxyz(8.2865, 15.6933, 4.2611)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128024 #80126E
analogous
#378012 #128024 #12805B
triadic
#128024 #241280 #802412
tetradic
#128024 #123780 #80126E #805B12
square
#128024 #123780 #80126E #805B12
split-complementary
#128024 #5B1280 #801237
monochromatic
#041B08 #0A4A15 #128024 #1AB633 #2BE149

Accessibility & contrast

On white

5.07
#128024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #128024
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128024#FFFFFF#000000##FFFFFF
##1280241.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128024;
/* rgb */ color: rgb(18, 128, 36);
/* oklch */ color: oklch(52.4% 0.159 144.7);
Tailwind
colors: {
  custom: {
    50: '#68a664',
    500: '#128024',
    950: '#000000',
  },
}
SCSS
$custom: #128024;
$custom-light: #68a664;
$custom-dark: #000000;
JSON
{
  "hex": "#128024",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 129.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.1586,
    "h": 144.7
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#128024
secondary
#B638A1
accent
#36D3F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128024

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

Preview Lab → · Contrast checker → · Palette generator →

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