#177838#177838

#177838 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.131 H 149.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#177838
RGBrgb(23, 120, 56)
HSLhsl(140, 68%, 28%)
HSVhsv(140, 81%, 47%)
CMYKcmyk(80.8%, 0%, 53.3%, 52.9%)
CIE-LABlab(44.09, -41.88, 27.44)
CIE-LCHlch(44.09, 50.07, 146.77°)
OKLaboklab(50.4% -0.1125 0.0664)
OKLCHoklch(50.4% 0.131 149.5)
XYZxyz(7.7830, 13.8997, 6.0133)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177838 #781757
analogous
#277817 #177838 #177868
triadic
#177838 #381778 #783817
tetradic
#177838 #172778 #781757 #786817
square
#177838 #172778 #781757 #786817
split-complementary
#177838 #681778 #781727
monochromatic
#051A0C #0D4520 #177838 #21AB50 #32D86A

Accessibility & contrast

On white

5.56
#177838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#177838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177838
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177838#FFFFFF#000000##FFFFFF
##1778381.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D33
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177838;
/* rgb */ color: rgb(23, 120, 56);
/* oklch */ color: oklch(50.4% 0.131 149.5);
Tailwind
colors: {
  custom: {
    50: '#66a070',
    500: '#177838',
    950: '#000000',
  },
}
SCSS
$custom: #177838;
$custom-light: #66a070;
$custom-dark: #000000;
JSON
{
  "hex": "#177838",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 140.412,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.13062,
    "h": 149.5
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#177838
secondary
#AD3E87
accent
#3DB0EB
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #177838

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

Preview Lab → · Contrast checker → · Palette generator →

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