#178128#178128

#178128 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.156 H 144.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178128
RGBrgb(23, 129, 40)
HSLhsl(130, 70%, 30%)
HSVhsv(130, 82%, 51%)
CMYKcmyk(82.2%, 0%, 69%, 49.4%)
CIE-LABlab(47.02, -47.29, 38.75)
CIE-LCHlch(47.02, 61.14, 140.67°)
OKLaboklab(52.77% -0.1276 0.0895)
OKLCHoklch(52.77% 0.156 144.9)
XYZxyz(8.5860, 16.0348, 4.6496)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178128 #811770
analogous
#3B8117 #178128 #17815D
triadic
#178128 #281781 #812817
tetradic
#178128 #173B81 #811770 #815D17
square
#178128 #173B81 #811770 #815D17
split-complementary
#178128 #5D1781 #81173B
monochromatic
#051A08 #0E4D18 #178128 #20B538 #37DB51

Accessibility & contrast

On white

4.99
#178128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#178128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178128
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178128#FFFFFF#000000##FFFFFF
##1781281.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178128;
/* rgb */ color: rgb(23, 129, 40);
/* oklch */ color: oklch(52.8% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#178128',
    950: '#000000',
  },
}
SCSS
$custom: #178128;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#178128",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 129.623,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.15585,
    "h": 144.9
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#178128
secondary
#B53EA2
accent
#3BD0ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #178128

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

Preview Lab → · Contrast checker → · Palette generator →

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