#128115#128115

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

Color values

HEX#128115
RGBrgb(18, 129, 21)
HSLhsl(122, 76%, 29%)
HSVhsv(122, 86%, 51%)
CMYKcmyk(86%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.82, -49.53, 45.70)
CIE-LCHlch(46.82, 67.39, 137.31°)
OKLaboklab(52.54% -0.1343 0.1015)
OKLCHoklch(52.54% 0.168 142.9)
XYZxyz(8.2345, 15.8822, 3.3409)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128115 #81127E
analogous
#478112 #128115 #12814D
triadic
#128115 #151281 #811512
tetradic
#128115 #124781 #81127E #814D12
square
#128115 #124781 #81127E #814D12
split-complementary
#128115 #4D1281 #811247
monochromatic
#041B04 #0B4B0C #128115 #19B71E #2CE231

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128115#FFFFFF#000000##FFFFFF
##1281151.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)
#786C23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128115;
/* rgb */ color: rgb(18, 129, 21);
/* oklch */ color: oklch(52.5% 0.168 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a75d',
    500: '#128115',
    950: '#000000',
  },
}
SCSS
$custom: #128115;
$custom-light: #69a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#128115",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 121.622,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.16834,
    "h": 142.9
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#128115
secondary
#B738B3
accent
#36EDF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081005
muted
#7A7F79

Preview Lab

Preview with #128115

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

Preview Lab → · Contrast checker → · Palette generator →

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