#177842#177842

#177842 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.121 H 153.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#177842
RGBrgb(23, 120, 66)
HSLhsl(147, 68%, 28%)
HSVhsv(147, 81%, 47%)
CMYKcmyk(80.8%, 0%, 45%, 52.9%)
CIE-LABlab(44.24, -40.07, 22.13)
CIE-LCHlch(44.24, 45.78, 151.09°)
OKLaboklab(50.58% -0.1078 0.0547)
OKLCHoklch(50.58% 0.121 153.1)
XYZxyz(8.0524, 14.0075, 7.4325)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177842 #78174D
analogous
#1C7817 #177842 #177872
triadic
#177842 #421778 #784217
tetradic
#177842 #171C78 #78174D #787217
square
#177842 #171C78 #78174D #787217
split-complementary
#177842 #721778 #78171C
monochromatic
#051A0E #0D4526 #177842 #21AB5E #32D87B

Accessibility & contrast

On white

5.52
#177842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#177842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177842
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177842#FFFFFF#000000##FFFFFF
##1778421.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3E
Deuteranopia (green-blind)
#6D6546
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177842;
/* rgb */ color: rgb(23, 120, 66);
/* oklch */ color: oklch(50.6% 0.121 153.1);
Tailwind
colors: {
  custom: {
    50: '#66a077',
    500: '#177842',
    950: '#000000',
  },
}
SCSS
$custom: #177842;
$custom-light: #66a077;
$custom-dark: #000000;
JSON
{
  "hex": "#177842",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 66
  },
  "hsl": {
    "h": 146.598,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.12085,
    "h": 153.1
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#177842
secondary
#AD3E7C
accent
#3D9EEB
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #177842

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

Preview Lab → · Contrast checker → · Palette generator →

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