#178825#178825

#178825 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.166 H 144.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#178825
RGBrgb(23, 136, 37)
HSLhsl(127, 71%, 31%)
HSVhsv(127, 83%, 53%)
CMYKcmyk(83.1%, 0%, 72.8%, 46.7%)
CIE-LABlab(49.40, -49.94, 42.56)
CIE-LCHlch(49.40, 65.62, 139.56°)
OKLaboklab(54.74% -0.1349 0.0972)
OKLCHoklch(54.74% 0.166 144.2)
XYZxyz(9.4908, 17.9229, 4.7092)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178825 #88177A
analogous
#418817 #178825 #17885D
triadic
#178825 #251788 #882517
tetradic
#178825 #174188 #88177A #885D17
square
#178825 #174188 #88177A #885D17
split-complementary
#178825 #5D1788 #881741
monochromatic
#051F09 #0E5417 #178825 #20BC33 #3BDE50

Accessibility & contrast

On white

4.58
#178825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#178825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178825
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178825#FFFFFF#000000##000000
##1788251.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178825;
/* rgb */ color: rgb(23, 136, 37);
/* oklch */ color: oklch(54.7% 0.166 144.2);
Tailwind
colors: {
  custom: {
    50: '#6bac66',
    500: '#178825',
    950: '#000000',
  },
}
SCSS
$custom: #178825;
$custom-light: #6bac66;
$custom-dark: #000000;
JSON
{
  "hex": "#178825",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 127.434,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54743,
    "c": 0.16626,
    "h": 144.2
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#178825
secondary
#BC3FAC
accent
#3AD8EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178825

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

Preview Lab → · Contrast checker → · Palette generator →

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