#173B02#173B02

#173B02 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.092 H 137.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#173B02
RGBrgb(23, 59, 2)
HSLhsl(98, 93%, 12%)
HSVhsv(98, 97%, 23%)
CMYKcmyk(61%, 0%, 96.6%, 76.9%)
CIE-LABlab(21.26, -24.24, 28.14)
CIE-LCHlch(21.26, 37.14, 130.74°)
OKLaboklab(31.32% -0.0675 0.063)
OKLCHoklch(31.32% 0.092 137)
XYZxyz(1.9282, 3.3143, 0.5955)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B02 #26023B
analogous
#343B02 #173B02 #023B0A
triadic
#173B02 #02173B #3B0217
tetradic
#173B02 #02343B #26023B #3B0A02
square
#173B02 #02343B #26023B #3B0A02
split-complementary
#173B02 #0A023B #3B0234
monochromatic
#0C1E01 #0C1E01 #173B02 #2E7604 #45B106

Accessibility & contrast

On white

12.63
#173B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#173B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B02
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B02#FFFFFF#000000##FFFFFF
##173B021.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#153831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b02;
/* rgb */ color: rgb(23, 59, 2);
/* oklch */ color: oklch(31.3% 0.092 137.0);
Tailwind
colors: {
  custom: {
    50: '#597149',
    500: '#173b02',
    950: '#000000',
  },
}
SCSS
$custom: #173b02;
$custom-light: #597149;
$custom-dark: #000000;
JSON
{
  "hex": "#173b02",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 97.895,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31322,
    "c": 0.09234,
    "h": 137
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#173B02
secondary
#5A1A7E
accent
#29FFB0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173B02

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

Preview Lab → · Contrast checker → · Palette generator →

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