#178138#178138

#178138 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.143 H 148.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#178138
RGBrgb(23, 129, 56)
HSLhsl(139, 70%, 30%)
HSVhsv(139, 82%, 51%)
CMYKcmyk(82.2%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.19, -45.19, 31.23)
CIE-LCHlch(47.19, 54.93, 145.36°)
OKLaboklab(52.97% -0.1214 0.0748)
OKLCHoklch(52.97% 0.143 148.4)
XYZxyz(8.9167, 16.1671, 6.3912)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178138 #811760
analogous
#2B8117 #178138 #17816D
triadic
#178138 #381781 #813817
tetradic
#178138 #172B81 #811760 #816D17
square
#178138 #172B81 #811760 #816D17
split-complementary
#178138 #6D1781 #81172B
monochromatic
#051A0B #0E4D21 #178138 #20B54F #37DB6A

Accessibility & contrast

On white

4.96
#178138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#178138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178138
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178138#FFFFFF#000000##FFFFFF
##1781381.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827531
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178138;
/* rgb */ color: rgb(23, 129, 56);
/* oklch */ color: oklch(53.0% 0.143 148.4);
Tailwind
colors: {
  custom: {
    50: '#68a770',
    500: '#178138',
    950: '#000000',
  },
}
SCSS
$custom: #178138;
$custom-light: #68a770;
$custom-dark: #000000;
JSON
{
  "hex": "#178138",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 138.679,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.14258,
    "h": 148.4
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#178138
secondary
#B53E90
accent
#3BB5ED
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #178138

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

Preview Lab → · Contrast checker → · Palette generator →

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