#178538#178538

#178538 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.148 H 148.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#178538
RGBrgb(23, 133, 56)
HSLhsl(138, 71%, 31%)
HSVhsv(138, 83%, 52%)
CMYKcmyk(82.7%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.56, -46.62, 32.87)
CIE-LCHlch(48.56, 57.05, 144.82°)
OKLaboklab(54.11% -0.1252 0.0784)
OKLCHoklch(54.11% 0.148 148)
XYZxyz(9.4539, 17.2416, 6.5703)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178538 #851764
analogous
#2D8517 #178538 #17856F
triadic
#178538 #381785 #853817
tetradic
#178538 #172D85 #851764 #856F17
square
#178538 #172D85 #851764 #856F17
split-complementary
#178538 #6F1785 #85172D
monochromatic
#051D0C #0E5122 #178538 #20B94E #3ADD6B

Accessibility & contrast

On white

4.72
#178538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#178538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178538
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178538#FFFFFF#000000##FFFFFF
##1785381.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178538;
/* rgb */ color: rgb(23, 133, 56);
/* oklch */ color: oklch(54.1% 0.148 148.0);
Tailwind
colors: {
  custom: {
    50: '#69aa71',
    500: '#178538',
    950: '#000000',
  },
}
SCSS
$custom: #178538;
$custom-light: #69aa71;
$custom-dark: #000000;
JSON
{
  "hex": "#178538",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 138,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.14776,
    "h": 148
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#178538
secondary
#B93F94
accent
#3BB8ED
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #178538

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

Preview Lab → · Contrast checker → · Palette generator →

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