#128111#128111

#128111 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.5% C 0.170 H 142.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#128111
RGBrgb(18, 129, 17)
HSLhsl(119, 77%, 29%)
HSVhsv(119, 87%, 51%)
CMYKcmyk(86%, 0%, 86.8%, 49.4%)
CIE-LABlab(46.80, -49.76, 46.81)
CIE-LCHlch(46.80, 68.32, 136.75°)
OKLaboklab(52.52% -0.1351 0.1033)
OKLCHoklch(52.52% 0.17 142.6)
XYZxyz(8.2004, 15.8686, 3.1610)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128111 #801181
analogous
#4A8111 #128111 #118148
triadic
#128111 #111281 #811112
tetradic
#128111 #114A81 #801181 #814811
square
#128111 #114A81 #801181 #814811
split-complementary
#128111 #481181 #81114A
monochromatic
#041B04 #0A4B0A #128111 #1AB718 #2BE32A

Accessibility & contrast

On white

5.03
#128111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#128111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128111
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128111#FFFFFF#000000##FFFFFF
##1281111.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128111;
/* rgb */ color: rgb(18, 129, 17);
/* oklch */ color: oklch(52.5% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a75b',
    500: '#128111',
    950: '#000000',
  },
}
SCSS
$custom: #128111;
$custom-light: #69a75b;
$custom-dark: #000000;
JSON
{
  "hex": "#128111",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 119.464,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.17004,
    "h": 142.6
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#128111
secondary
#B637B7
accent
#35F3F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081004
muted
#7A7F79

Preview Lab

Preview with #128111

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

Preview Lab → · Contrast checker → · Palette generator →

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