#178228#178228

#178228 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.157 H 144.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#178228
RGBrgb(23, 130, 40)
HSLhsl(130, 70%, 30%)
HSVhsv(130, 82%, 51%)
CMYKcmyk(82.3%, 0%, 69.2%, 49%)
CIE-LABlab(47.37, -47.63, 39.12)
CIE-LCHlch(47.37, 61.64, 140.60°)
OKLaboklab(53.06% -0.1285 0.0903)
OKLCHoklch(53.06% 0.157 144.9)
XYZxyz(8.7184, 16.2996, 4.6937)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178228 #821771
analogous
#3B8217 #178228 #17825E
triadic
#178228 #281782 #822817
tetradic
#178228 #173B82 #821771 #825E17
square
#178228 #173B82 #821771 #825E17
split-complementary
#178228 #5E1782 #82173B
monochromatic
#051A08 #0E4E18 #178228 #20B638 #38DC52

Accessibility & contrast

On white

4.93
#178228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#178228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178228
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178228#FFFFFF#000000##FFFFFF
##1782281.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178228;
/* rgb */ color: rgb(23, 130, 40);
/* oklch */ color: oklch(53.1% 0.157 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a767',
    500: '#178228',
    950: '#000000',
  },
}
SCSS
$custom: #178228;
$custom-light: #69a767;
$custom-dark: #000000;
JSON
{
  "hex": "#178228",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 129.533,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.15706,
    "h": 144.9
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#178228
secondary
#B63EA3
accent
#3BD1ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #178228

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

Preview Lab → · Contrast checker → · Palette generator →

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