#173A05#173A05

#173A05 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.089 H 137.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#173A05
RGBrgb(23, 58, 5)
HSLhsl(100, 84%, 12%)
HSVhsv(100, 91%, 23%)
CMYKcmyk(60.3%, 0%, 91.4%, 77.3%)
CIE-LABlab(20.90, -23.51, 26.52)
CIE-LCHlch(20.90, 35.44, 131.55°)
OKLaboklab(31.03% -0.0652 0.0598)
OKLCHoklch(31.03% 0.089 137.5)
XYZxyz(1.8937, 3.2191, 0.6651)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A05 #28053A
analogous
#313A05 #173A05 #053A0E
triadic
#173A05 #05173A #3A0517
tetradic
#173A05 #05313A #28053A #3A0E05
square
#173A05 #05313A #28053A #3A0E05
split-complementary
#173A05 #0E053A #3A0531
monochromatic
#0B1C02 #0B1C02 #173A05 #2D720A #44AB0F

Accessibility & contrast

On white

12.78
#173A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#173A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A05
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A05#FFFFFF#000000##FFFFFF
##173A051.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#143830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a05;
/* rgb */ color: rgb(23, 58, 5);
/* oklch */ color: oklch(31.0% 0.089 137.5);
Tailwind
colors: {
  custom: {
    50: '#59704a',
    500: '#173a05',
    950: '#000000',
  },
}
SCSS
$custom: #173a05;
$custom-light: #59704a;
$custom-dark: #000000;
JSON
{
  "hex": "#173a05",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 99.623,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31033,
    "c": 0.08851,
    "h": 137.5
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#173A05
secondary
#5C207B
accent
#2DFAB5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A05

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

Preview Lab → · Contrast checker → · Palette generator →

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