#172C08#172C08

#172C08 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.064 H 134.7°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#172C08
RGBrgb(23, 44, 8)
HSLhsl(95, 69%, 10%)
HSVhsv(95, 82%, 17%)
CMYKcmyk(47.7%, 0%, 81.8%, 82.7%)
CIE-LABlab(15.49, -16.24, 18.88)
CIE-LCHlch(15.49, 24.90, 130.69°)
OKLaboklab(26.6% -0.0453 0.0458)
OKLCHoklch(26.6% 0.064 134.7)
XYZxyz(1.2978, 2.0010, 0.5475)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C08 #1D082C
analogous
#292C08 #172C08 #082C0B
triadic
#172C08 #08172C #2C0817
tetradic
#172C08 #08292C #1D082C #2C0B08
square
#172C08 #08292C #1D082C #2C0B08
split-complementary
#172C08 #0B082C #2C0829
monochromatic
#0E1A05 #0E1A05 #172C08 #326011 #4D941B

Accessibility & contrast

On white

15.00
#172C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#172C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C08
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C08#FFFFFF#000000##FFFFFF
##172C081.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2B260B
Tritanopia (blue-blind)
#172A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172c08;
/* rgb */ color: rgb(23, 44, 8);
/* oklch */ color: oklch(26.6% 0.064 134.7);
Tailwind
colors: {
  custom: {
    50: '#56654a',
    500: '#172c08',
    950: '#000000',
  },
}
SCSS
$custom: #172c08;
$custom-light: #56654a;
$custom-dark: #000000;
JSON
{
  "hex": "#172c08",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 95,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26602,
    "c": 0.0644,
    "h": 134.7
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#172C08
secondary
#4E256B
accent
#3CECA3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172C08

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

Preview Lab → · Contrast checker → · Palette generator →

#172C08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva