#177830#177830

#177830 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.138 H 147.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#177830
RGBrgb(23, 120, 48)
HSLhsl(135, 68%, 28%)
HSVhsv(135, 81%, 47%)
CMYKcmyk(80.8%, 0%, 60%, 52.9%)
CIE-LABlab(43.98, -43.12, 31.50)
CIE-LCHlch(43.98, 53.40, 143.85°)
OKLaboklab(50.28% -0.116 0.0748)
OKLCHoklch(50.28% 0.138 147.2)
XYZxyz(7.6027, 13.8276, 5.0640)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177830 #78175F
analogous
#2E7817 #177830 #177860
triadic
#177830 #301778 #783017
tetradic
#177830 #172E78 #78175F #786017
square
#177830 #172E78 #78175F #786017
split-complementary
#177830 #601778 #78172E
monochromatic
#051A0A #0D451B #177830 #21AB45 #32D85D

Accessibility & contrast

On white

5.58
#177830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#177830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177830
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177830#FFFFFF#000000##FFFFFF
##1778301.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177830;
/* rgb */ color: rgb(23, 120, 48);
/* oklch */ color: oklch(50.3% 0.138 147.2);
Tailwind
colors: {
  custom: {
    50: '#66a06b',
    500: '#177830',
    950: '#000000',
  },
}
SCSS
$custom: #177830;
$custom-light: #66a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#177830",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 135.464,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.138,
    "h": 147.2
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#177830
secondary
#AD3E90
accent
#3DBEEB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #177830

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

Preview Lab → · Contrast checker → · Palette generator →

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