#173B08#173B08

#173B08 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.4% C 0.088 H 138.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#173B08
RGBrgb(23, 59, 8)
HSLhsl(102, 76%, 13%)
HSVhsv(102, 86%, 23%)
CMYKcmyk(61%, 0%, 86.4%, 76.9%)
CIE-LABlab(21.31, -23.68, 25.75)
CIE-LCHlch(21.31, 34.98, 132.61°)
OKLaboklab(31.38% -0.0654 0.0582)
OKLCHoklch(31.38% 0.088 138.3)
XYZxyz(1.9611, 3.3275, 0.7686)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B08 #2C083B
analogous
#303B08 #173B08 #083B12
triadic
#173B08 #08173B #3B0817
tetradic
#173B08 #08303B #2C083B #3B1208
square
#173B08 #08303B #2C083B #3B1208
split-complementary
#173B08 #12083B #3B0830
monochromatic
#0B1B04 #0B1B04 #173B08 #2C710F #41A717

Accessibility & contrast

On white

12.61
#173B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#173B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B08
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B08#FFFFFF#000000##FFFFFF
##173B081.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#143931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b08;
/* rgb */ color: rgb(23, 59, 8);
/* oklch */ color: oklch(31.4% 0.088 138.3);
Tailwind
colors: {
  custom: {
    50: '#59714c',
    500: '#173b08',
    950: '#000000',
  },
}
SCSS
$custom: #173b08;
$custom-light: #59714c;
$custom-dark: #000000;
JSON
{
  "hex": "#173b08",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 102.353,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31378,
    "c": 0.08757,
    "h": 138.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#173B08
secondary
#61257A
accent
#35F3BB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173B08

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

Preview Lab → · Contrast checker → · Palette generator →

#173B08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva