#128F13#128F13

#128F13 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.5% C 0.184 H 142.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#128F13
RGBrgb(18, 143, 19)
HSLhsl(120, 78%, 32%)
HSVhsv(120, 87%, 56%)
CMYKcmyk(87.4%, 0%, 86.7%, 43.9%)
CIE-LABlab(51.63, -54.00, 50.65)
CIE-LCHlch(51.63, 74.04, 136.83°)
OKLaboklab(56.55% -0.1465 0.1116)
OKLCHoklch(56.55% 0.184 142.7)
XYZxyz(10.1888, 19.8193, 3.9045)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F13 #8F128E
analogous
#508F12 #128F13 #128F52
triadic
#128F13 #13128F #8F1312
tetradic
#128F13 #12508F #8F128E #8F5212
square
#128F13 #12508F #8F128E #8F5212
split-complementary
#128F13 #52128F #8F1250
monochromatic
#042205 #0B590C #128F13 #19C51A #36E637

Accessibility & contrast

On white

4.23
#128F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#128F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F13
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F13#FFFFFF#000000##000000
##128F131.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f13;
/* rgb */ color: rgb(18, 143, 19);
/* oklch */ color: oklch(56.5% 0.184 142.7);
Tailwind
colors: {
  custom: {
    50: '#6db15e',
    500: '#128f13',
    950: '#000000',
  },
}
SCSS
$custom: #128f13;
$custom-light: #6db15e;
$custom-dark: #000000;
JSON
{
  "hex": "#128f13",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 120.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.18418,
    "h": 142.7
  },
  "luminance": 0.19821
}

Semantic roles & 50–950 ramp

primary
#128F13
secondary
#C33AC2
accent
#34F3F4
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#081105
muted
#7B8079

Preview Lab

Preview with #128F13

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

Preview Lab → · Contrast checker → · Palette generator →

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