#178127#178127

#178127 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.157 H 144.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178127
RGBrgb(23, 129, 39)
HSLhsl(129, 70%, 30%)
HSVhsv(129, 82%, 51%)
CMYKcmyk(82.2%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.01, -47.40, 39.18)
CIE-LCHlch(47.01, 61.50, 140.42°)
OKLaboklab(52.76% -0.1279 0.0903)
OKLCHoklch(52.76% 0.157 144.8)
XYZxyz(8.5692, 16.0281, 4.5612)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178127 #811771
analogous
#3C8117 #178127 #17815C
triadic
#178127 #271781 #812717
tetradic
#178127 #173C81 #811771 #815C17
square
#178127 #173C81 #811771 #815C17
split-complementary
#178127 #5C1781 #81173C
monochromatic
#051A08 #0E4D17 #178127 #20B537 #37DB50

Accessibility & contrast

On white

4.99
#178127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#178127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178127
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178127#FFFFFF#000000##FFFFFF
##1781271.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178127;
/* rgb */ color: rgb(23, 129, 39);
/* oklch */ color: oklch(52.8% 0.157 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#178127',
    950: '#000000',
  },
}
SCSS
$custom: #178127;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#178127",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 129.057,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.15658,
    "h": 144.8
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#178127
secondary
#B53EA3
accent
#3BD2ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #178127

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

Preview Lab → · Contrast checker → · Palette generator →

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