#175121#175121

#175121 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.098 H 146.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#175121
RGBrgb(23, 81, 33)
HSLhsl(130, 56%, 20%)
HSVhsv(130, 72%, 32%)
CMYKcmyk(71.6%, 0%, 59.3%, 68.2%)
CIE-LABlab(29.85, -30.20, 22.65)
CIE-LCHlch(29.85, 37.75, 143.12°)
OKLaboklab(38.52% -0.0815 0.0542)
OKLCHoklch(38.52% 0.098 146.4)
XYZxyz(3.5700, 6.1765, 2.4426)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175121 #511747
analogous
#2A5117 #175121 #17513E
triadic
#175121 #211751 #512117
tetradic
#175121 #172A51 #511747 #513E17
square
#175121 #172A51 #511747 #513E17
split-complementary
#175121 #3E1751 #51172A
monochromatic
#07180A #09210E #175121 #258134 #32B048

Accessibility & contrast

On white

9.39
#175121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#175121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175121
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175121#FFFFFF#000000##FFFFFF
##1751211.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491D
Deuteranopia (green-blind)
#4B4425
Tritanopia (blue-blind)
#064F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175121;
/* rgb */ color: rgb(23, 81, 33);
/* oklch */ color: oklch(38.5% 0.098 146.4);
Tailwind
colors: {
  custom: {
    50: '#5d825d',
    500: '#175121',
    950: '#000000',
  },
}
SCSS
$custom: #175121;
$custom-light: #5d825d;
$custom-dark: #000000;
JSON
{
  "hex": "#175121",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 130.345,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.09793,
    "h": 146.4
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#175121
secondary
#883C7B
accent
#49C5DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #175121

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

Preview Lab → · Contrast checker → · Palette generator →

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