#128118#128118

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

Color values

HEX#128118
RGBrgb(18, 129, 24)
HSLhsl(123, 76%, 29%)
HSVhsv(123, 86%, 51%)
CMYKcmyk(86%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.84, -49.33, 44.77)
CIE-LCHlch(46.84, 66.62, 137.78°)
OKLaboklab(52.56% -0.1336 0.1)
OKLCHoklch(52.56% 0.167 143.2)
XYZxyz(8.2640, 15.8940, 3.4963)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128118 #81127B
analogous
#448112 #128118 #128150
triadic
#128118 #181281 #811812
tetradic
#128118 #124481 #81127B #815012
square
#128118 #124481 #81127B #815012
split-complementary
#128118 #501281 #811244
monochromatic
#041B05 #0B4B0E #128118 #19B722 #2CE236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128118#FFFFFF#000000##FFFFFF
##1281181.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)
#786C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128118;
/* rgb */ color: rgb(18, 129, 24);
/* oklch */ color: oklch(52.6% 0.167 143.2);
Tailwind
colors: {
  custom: {
    50: '#69a75e',
    500: '#128118',
    950: '#000000',
  },
}
SCSS
$custom: #128118;
$custom-light: #69a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#128118",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 123.243,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.16691,
    "h": 143.2
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#128118
secondary
#B738B0
accent
#36E8F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#071005
muted
#7A7F79

Preview Lab

Preview with #128118

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

Preview Lab → · Contrast checker → · Palette generator →

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