#17331C#17331C

#17331C is a dark, muted green. Relative luminance 0.026; OKLCH L 29.2% C 0.054 H 148.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#17331C
RGBrgb(23, 51, 28)
HSLhsl(131, 38%, 15%)
HSVhsv(131, 55%, 20%)
CMYKcmyk(54.9%, 0%, 45.1%, 80%)
CIE-LABlab(18.51, -16.81, 11.40)
CIE-LCHlch(18.51, 20.31, 145.85°)
OKLaboklab(29.17% -0.0457 0.0284)
OKLCHoklch(29.17% 0.054 148.2)
XYZxyz(1.7467, 2.6335, 1.5147)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17331C #33172E
analogous
#203317 #17331C #17332A
triadic
#17331C #1C1733 #331C17
tetradic
#17331C #172033 #33172E #332A17
square
#17331C #172033 #33172E #332A17
split-complementary
#17331C #2A1733 #331720
monochromatic
#0A150C #0A150C #17331C #2A5D33 #3D874A

Accessibility & contrast

On white

13.75
#17331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17331C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17331C#FFFFFF#000000##FFFFFF
##17331C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#12322D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17331c;
/* rgb */ color: rgb(23, 51, 28);
/* oklch */ color: oklch(29.2% 0.054 148.2);
Tailwind
colors: {
  custom: {
    50: '#566b58',
    500: '#17331c',
    950: '#000000',
  },
}
SCSS
$custom: #17331c;
$custom-light: #566b58;
$custom-dark: #000000;
JSON
{
  "hex": "#17331c",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 130.714,
    "s": 37.838,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2917,
    "c": 0.0538,
    "h": 148.2
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#17331C
secondary
#693D61
accent
#5AB9CE
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #17331C

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

Preview Lab → · Contrast checker → · Palette generator →

#17331C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva