#128F1E#128F1E

#128F1E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.179 H 143.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#128F1E
RGBrgb(18, 143, 30)
HSLhsl(126, 78%, 32%)
HSVhsv(126, 87%, 56%)
CMYKcmyk(87.4%, 0%, 79%, 43.9%)
CIE-LABlab(51.69, -53.32, 47.45)
CIE-LCHlch(51.69, 71.38, 138.34°)
OKLaboklab(56.61% -0.1443 0.1064)
OKLCHoklch(56.61% 0.179 143.6)
XYZxyz(10.3056, 19.8660, 4.5194)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F1E #8F1283
analogous
#458F12 #128F1E #128F5D
triadic
#128F1E #1E128F #8F1E12
tetradic
#128F1E #12458F #8F1283 #8F5D12
square
#128F1E #12458F #8F1283 #8F5D12
split-complementary
#128F1E #5D128F #8F1245
monochromatic
#042207 #0B5913 #128F1E #19C529 #36E647

Accessibility & contrast

On white

4.22
#128F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#128F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F1E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F1E#FFFFFF#000000##000000
##128F1E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f1e;
/* rgb */ color: rgb(18, 143, 30);
/* oklch */ color: oklch(56.6% 0.179 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cb163',
    500: '#128f1e',
    950: '#000000',
  },
}
SCSS
$custom: #128f1e;
$custom-light: #6cb163;
$custom-dark: #000000;
JSON
{
  "hex": "#128f1e",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 125.76,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.17927,
    "h": 143.6
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#128F1E
secondary
#C33AB6
accent
#34E2F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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