#17331F#17331F

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

Color values

HEX#17331F
RGBrgb(23, 51, 31)
HSLhsl(137, 38%, 15%)
HSVhsv(137, 55%, 20%)
CMYKcmyk(54.9%, 0%, 39.2%, 80%)
CIE-LABlab(18.58, -16.15, 9.50)
CIE-LCHlch(18.58, 18.74, 149.54°)
OKLaboklab(29.24% -0.044 0.0239)
OKLCHoklch(29.24% 0.05 151.5)
XYZxyz(1.7844, 2.6486, 1.7133)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17331F #33172B
analogous
#1D3317 #17331F #17332D
triadic
#17331F #1F1733 #331F17
tetradic
#17331F #171D33 #33172B #332D17
square
#17331F #171D33 #33172B #332D17
split-complementary
#17331F #2D1733 #33171D
monochromatic
#0A150D #0A150D #17331F #2A5D39 #3D8752

Accessibility & contrast

On white

13.73
#17331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17331F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17331F#FFFFFF#000000##FFFFFF
##17331F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#2F2C20
Tritanopia (blue-blind)
#11322E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17331f;
/* rgb */ color: rgb(23, 51, 31);
/* oklch */ color: oklch(29.2% 0.050 151.5);
Tailwind
colors: {
  custom: {
    50: '#566b5a',
    500: '#17331f',
    950: '#000000',
  },
}
SCSS
$custom: #17331f;
$custom-light: #566b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#17331f",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 137.143,
    "s": 37.838,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29245,
    "c": 0.05009,
    "h": 151.5
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#17331F
secondary
#693D5C
accent
#5AADCE
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #17331F

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

Preview Lab → · Contrast checker → · Palette generator →

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