#118028#118028

#118028 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.156 H 145.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#118028
RGBrgb(17, 128, 40)
HSLhsl(132, 77%, 28%)
HSVhsv(132, 87%, 50%)
CMYKcmyk(86.7%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.59, -47.67, 38.26)
CIE-LCHlch(46.59, 61.12, 141.25°)
OKLaboklab(52.39% -0.1284 0.0885)
OKLCHoklch(52.39% 0.156 145.4)
XYZxyz(8.3327, 15.7097, 4.6002)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118028 #801169
analogous
#328011 #118028 #11805F
triadic
#118028 #281180 #802811
tetradic
#118028 #113280 #801169 #805F11
square
#118028 #113280 #801169 #805F11
split-complementary
#118028 #5F1180 #801132
monochromatic
#041B08 #0A4A17 #118028 #18B639 #29E34F

Accessibility & contrast

On white

5.07
#118028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#118028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #118028
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118028#FFFFFF#000000##FFFFFF
##1180281.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731C
Deuteranopia (green-blind)
#776B30
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #118028;
/* rgb */ color: rgb(17, 128, 40);
/* oklch */ color: oklch(52.4% 0.156 145.4);
Tailwind
colors: {
  custom: {
    50: '#67a666',
    500: '#118028',
    950: '#000000',
  },
}
SCSS
$custom: #118028;
$custom-light: #67a666;
$custom-dark: #000000;
JSON
{
  "hex": "#118028",
  "rgb": {
    "r": 17,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 132.432,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.15594,
    "h": 145.4
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#118028
secondary
#B6379C
accent
#35CCF3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #118028

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

Preview Lab → · Contrast checker → · Palette generator →

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