#177231#177231

#177231 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.129 H 148.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#177231
RGBrgb(23, 114, 49)
HSLhsl(137, 66%, 27%)
HSVhsv(137, 80%, 45%)
CMYKcmyk(79.8%, 0%, 57%, 55.3%)
CIE-LABlab(41.90, -40.76, 28.50)
CIE-LCHlch(41.90, 49.73, 145.04°)
OKLaboklab(48.56% -0.1096 0.0683)
OKLCHoklch(48.56% 0.129 148.1)
XYZxyz(6.9245, 12.4377, 4.9409)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177231 #721758
analogous
#2B7217 #177231 #17725F
triadic
#177231 #311772 #723117
tetradic
#177231 #172B72 #721758 #725F17
square
#177231 #172B72 #721758 #725F17
split-complementary
#177231 #5F1772 #72172B
monochromatic
#05190B #0D3F1B #177231 #21A547 #2ED55E

Accessibility & contrast

On white

6.02
#177231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#177231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177231
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177231#FFFFFF#000000##FFFFFF
##1772311.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #177231;
/* rgb */ color: rgb(23, 114, 49);
/* oklch */ color: oklch(48.6% 0.129 148.1);
Tailwind
colors: {
  custom: {
    50: '#659b6b',
    500: '#177231',
    950: '#000000',
  },
}
SCSS
$custom: #177231;
$custom-light: #659b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#177231",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 137.143,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.12911,
    "h": 148.1
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#177231
secondary
#A83D89
accent
#3EB9E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #177231

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

Preview Lab → · Contrast checker → · Palette generator →

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