#128117#128117

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

Color values

HEX#128117
RGBrgb(18, 129, 23)
HSLhsl(123, 76%, 29%)
HSVhsv(123, 86%, 51%)
CMYKcmyk(86%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.83, -49.40, 45.09)
CIE-LCHlch(46.83, 66.88, 137.62°)
OKLaboklab(52.55% -0.1339 0.1005)
OKLCHoklch(52.55% 0.167 143.1)
XYZxyz(8.2538, 15.8899, 3.4425)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128117 #81127C
analogous
#458112 #128117 #12814F
triadic
#128117 #171281 #811712
tetradic
#128117 #124581 #81127C #814F12
square
#128117 #124581 #81127C #814F12
split-complementary
#128117 #4F1281 #811245
monochromatic
#041B05 #0B4B0D #128117 #19B721 #2CE234

Accessibility & contrast

On white

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

On black

4.18
#128117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##128117#FFFFFF#000000##FFFFFF
##1281171.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128117;
/* rgb */ color: rgb(18, 129, 23);
/* oklch */ color: oklch(52.6% 0.167 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a75e',
    500: '#128117',
    950: '#000000',
  },
}
SCSS
$custom: #128117;
$custom-light: #69a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#128117",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 122.703,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.1674,
    "h": 143.1
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#128117
secondary
#B738B1
accent
#36EAF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081005
muted
#7A7F79

Preview Lab

Preview with #128117

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

Preview Lab → · Contrast checker → · Palette generator →

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