#178227#178227

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

Color values

HEX#178227
RGBrgb(23, 130, 39)
HSLhsl(129, 70%, 30%)
HSVhsv(129, 82%, 51%)
CMYKcmyk(82.3%, 0%, 70%, 49%)
CIE-LABlab(47.36, -47.74, 39.55)
CIE-LCHlch(47.36, 61.99, 140.36°)
OKLaboklab(53.05% -0.1288 0.0911)
OKLCHoklch(53.05% 0.158 144.7)
XYZxyz(8.7016, 16.2928, 4.6053)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178227 #821772
analogous
#3C8217 #178227 #17825D
triadic
#178227 #271782 #822717
tetradic
#178227 #173C82 #821772 #825D17
square
#178227 #173C82 #821772 #825D17
split-complementary
#178227 #5D1782 #82173C
monochromatic
#051A08 #0E4E17 #178227 #20B637 #38DC50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178227#FFFFFF#000000##FFFFFF
##1782271.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)
#84751A
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178227;
/* rgb */ color: rgb(23, 130, 39);
/* oklch */ color: oklch(53.0% 0.158 144.7);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#178227',
    950: '#000000',
  },
}
SCSS
$custom: #178227;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#178227",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 128.972,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.15778,
    "h": 144.7
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#178227
secondary
#B63EA4
accent
#3BD2ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #178227

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

Preview Lab → · Contrast checker → · Palette generator →

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