#177238#177238

#177238 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.122 H 150.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#177238
RGBrgb(23, 114, 56)
HSLhsl(142, 66%, 27%)
HSVhsv(142, 80%, 45%)
CMYKcmyk(79.8%, 0%, 50.9%, 55.3%)
CIE-LABlab(42.00, -39.59, 24.84)
CIE-LCHlch(42.00, 46.74, 147.90°)
OKLaboklab(48.67% -0.1064 0.0605)
OKLCHoklch(48.67% 0.122 150.4)
XYZxyz(7.0839, 12.5015, 5.7803)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177238 #721751
analogous
#247217 #177238 #177266
triadic
#177238 #381772 #723817
tetradic
#177238 #172472 #721751 #726617
square
#177238 #172472 #721751 #726617
split-complementary
#177238 #661772 #721724
monochromatic
#05190D #0D3F1F #177238 #21A551 #2ED56B

Accessibility & contrast

On white

6.00
#177238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#177238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177238
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177238#FFFFFF#000000##FFFFFF
##1772381.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #177238;
/* rgb */ color: rgb(23, 114, 56);
/* oklch */ color: oklch(48.7% 0.122 150.4);
Tailwind
colors: {
  custom: {
    50: '#649b70',
    500: '#177238',
    950: '#000000',
  },
}
SCSS
$custom: #177238;
$custom-light: #649b70;
$custom-dark: #000000;
JSON
{
  "hex": "#177238",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 141.758,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.12239,
    "h": 150.4
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#177238
secondary
#A83D81
accent
#3EABE9
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #177238

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

Preview Lab → · Contrast checker → · Palette generator →

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