#172B07#172B07

#172B07 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.064 H 133.9°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#172B07
RGBrgb(23, 43, 7)
HSLhsl(93, 72%, 10%)
HSVhsv(93, 84%, 17%)
CMYKcmyk(46.5%, 0%, 83.7%, 83.1%)
CIE-LABlab(15.09, -15.81, 18.77)
CIE-LCHlch(15.09, 24.54, 130.10°)
OKLaboklab(26.27% -0.0442 0.046)
OKLCHoklch(26.27% 0.064 133.9)
XYZxyz(1.2556, 1.9252, 0.5064)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B07 #1B072B
analogous
#292B07 #172B07 #072B09
triadic
#172B07 #07172B #2B0717
tetradic
#172B07 #07292B #1B072B #2B0907
square
#172B07 #07292B #1B072B #2B0907
split-complementary
#172B07 #09072B #2B0729
monochromatic
#0E1A04 #0E1A04 #172B07 #336010 #4F9418

Accessibility & contrast

On white

15.16
#172B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#172B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B07
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B07#FFFFFF#000000##FFFFFF
##172B071.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#172924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172b07;
/* rgb */ color: rgb(23, 43, 7);
/* oklch */ color: oklch(26.3% 0.064 133.9);
Tailwind
colors: {
  custom: {
    50: '#55644a',
    500: '#172b07',
    950: '#000000',
  },
}
SCSS
$custom: #172b07;
$custom-light: #55644a;
$custom-dark: #000000;
JSON
{
  "hex": "#172b07",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 93.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26269,
    "c": 0.06381,
    "h": 133.9
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#172B07
secondary
#4B236B
accent
#39EF9E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172B07

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

Preview Lab → · Contrast checker → · Palette generator →

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