#178528#178528

#178528 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.161 H 144.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#178528
RGBrgb(23, 133, 40)
HSLhsl(129, 71%, 31%)
HSVhsv(129, 83%, 52%)
CMYKcmyk(82.7%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.40, -48.64, 40.24)
CIE-LCHlch(48.40, 63.13, 140.40°)
OKLaboklab(53.92% -0.1313 0.0927)
OKLCHoklch(53.92% 0.161 144.8)
XYZxyz(9.1232, 17.1093, 4.8287)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178528 #851774
analogous
#3D8517 #178528 #17855F
triadic
#178528 #281785 #852817
tetradic
#178528 #173D85 #851774 #855F17
square
#178528 #173D85 #851774 #855F17
split-complementary
#178528 #5F1785 #85173D
monochromatic
#051D09 #0E5118 #178528 #20B938 #3ADD53

Accessibility & contrast

On white

4.75
#178528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#178528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178528
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178528#FFFFFF#000000##FFFFFF
##1785281.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178528;
/* rgb */ color: rgb(23, 133, 40);
/* oklch */ color: oklch(53.9% 0.161 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aaa67',
    500: '#178528',
    950: '#000000',
  },
}
SCSS
$custom: #178528;
$custom-light: #6aaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#178528",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 129.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.16066,
    "h": 144.8
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#178528
secondary
#B93FA6
accent
#3BD2ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178528

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

Preview Lab → · Contrast checker → · Palette generator →

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