#178226#178226

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

Color values

HEX#178226
RGBrgb(23, 130, 38)
HSLhsl(128, 70%, 30%)
HSVhsv(128, 82%, 51%)
CMYKcmyk(82.3%, 0%, 70.8%, 49%)
CIE-LABlab(47.35, -47.84, 39.97)
CIE-LCHlch(47.35, 62.34, 140.12°)
OKLaboklab(53.04% -0.1292 0.0919)
OKLCHoklch(53.04% 0.159 144.6)
XYZxyz(8.6852, 16.2863, 4.5192)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178226 #821773
analogous
#3E8217 #178226 #17825B
triadic
#178226 #261782 #822617
tetradic
#178226 #173E82 #821773 #825B17
square
#178226 #173E82 #821773 #825B17
split-complementary
#178226 #5B1782 #82173E
monochromatic
#051A08 #0E4E17 #178226 #20B635 #38DC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178226#FFFFFF#000000##FFFFFF
##1782261.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)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178226;
/* rgb */ color: rgb(23, 130, 38);
/* oklch */ color: oklch(53.0% 0.159 144.6);
Tailwind
colors: {
  custom: {
    50: '#69a765',
    500: '#178226',
    950: '#000000',
  },
}
SCSS
$custom: #178226;
$custom-light: #69a765;
$custom-dark: #000000;
JSON
{
  "hex": "#178226",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 128.411,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.53038,
    "c": 0.1585,
    "h": 144.6
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#178226
secondary
#B63EA6
accent
#3BD4ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178226

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

Preview Lab → · Contrast checker → · Palette generator →

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