#178945#178945

#178945 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.141 H 151.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178945
RGBrgb(23, 137, 69)
HSLhsl(144, 71%, 31%)
HSVhsv(144, 83%, 54%)
CMYKcmyk(83.2%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.10, -45.97, 27.98)
CIE-LCHlch(50.10, 53.82, 148.68°)
OKLaboklab(55.44% -0.1234 0.0682)
OKLCHoklch(55.44% 0.141 151.1)
XYZxyz(10.3723, 18.5019, 8.6536)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178945 #89175B
analogous
#228917 #178945 #17897E
triadic
#178945 #451789 #894517
tetradic
#178945 #172289 #89175B #897E17
square
#178945 #172289 #89175B #897E17
split-complementary
#178945 #7E1789 #891722
monochromatic
#052010 #0E552B #178945 #20BD5F #3CDE7E

Accessibility & contrast

On white

4.47
#178945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#178945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178945
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178945#FFFFFF#000000##000000
##1789451.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D40
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178945;
/* rgb */ color: rgb(23, 137, 69);
/* oklch */ color: oklch(55.4% 0.141 151.1);
Tailwind
colors: {
  custom: {
    50: '#6aac7a',
    500: '#178945',
    950: '#000000',
  },
}
SCSS
$custom: #178945;
$custom-light: #6aac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#178945",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 144.211,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.14101,
    "h": 151.1
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#178945
secondary
#BD3F8A
accent
#3AA5EE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #178945

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

Preview Lab → · Contrast checker → · Palette generator →

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