#175227#175227

#175227 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.093 H 148.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#175227
RGBrgb(23, 82, 39)
HSLhsl(136, 56%, 21%)
HSVhsv(136, 72%, 32%)
CMYKcmyk(72%, 0%, 52.4%, 67.8%)
CIE-LABlab(30.31, -29.60, 19.77)
CIE-LCHlch(30.31, 35.60, 146.25°)
OKLaboklab(38.92% -0.0798 0.0482)
OKLCHoklch(38.92% 0.093 148.9)
XYZxyz(3.7366, 6.3628, 2.9503)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175227 #521742
analogous
#245217 #175227 #175244
triadic
#175227 #271752 #522717
tetradic
#175227 #172452 #521742 #524417
square
#175227 #172452 #521742 #524417
split-complementary
#175227 #441752 #521724
monochromatic
#07180B #0A2210 #175227 #24823E #32B254

Accessibility & contrast

On white

9.24
#175227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#175227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175227
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175227#FFFFFF#000000##FFFFFF
##1752271.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#025048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175227;
/* rgb */ color: rgb(23, 82, 39);
/* oklch */ color: oklch(38.9% 0.093 148.9);
Tailwind
colors: {
  custom: {
    50: '#5d8362',
    500: '#175227',
    950: '#000000',
  },
}
SCSS
$custom: #175227;
$custom-light: #5d8362;
$custom-dark: #000000;
JSON
{
  "hex": "#175227",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 136.271,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.09323,
    "h": 148.9
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#175227
secondary
#893C74
accent
#48B6DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #175227

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

Preview Lab → · Contrast checker → · Palette generator →

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