#172502#172502

#172502 is a very dark, moderate yellow-green. Relative luminance 0.015; OKLCH L 24.3% C 0.060 H 128.6°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#172502
RGBrgb(23, 37, 2)
HSLhsl(84, 90%, 8%)
HSVhsv(84, 95%, 15%)
CMYKcmyk(37.8%, 0%, 94.6%, 85.5%)
CIE-LABlab(12.67, -13.07, 17.63)
CIE-LCHlch(12.67, 21.95, 126.57°)
OKLaboklab(24.28% -0.0376 0.0472)
OKLCHoklch(24.28% 0.06 128.6)
XYZxyz(1.0259, 1.5096, 0.2948)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172502 #100225
analogous
#252102 #172502 #052502
triadic
#172502 #021725 #250217
tetradic
#172502 #022521 #100225 #250205
square
#172502 #022521 #100225 #250205
split-complementary
#172502 #020525 #210225
monochromatic
#121D02 #121D02 #172502 #3B5F05 #5F9908

Accessibility & contrast

On white

16.13
#172502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#172502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172502
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172502#FFFFFF#000000##FFFFFF
##1725021.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#252104
Tritanopia (blue-blind)
#18231E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #172502;
/* rgb */ color: rgb(23, 37, 2);
/* oklch */ color: oklch(24.3% 0.060 128.6);
Tailwind
colors: {
  custom: {
    50: '#545f47',
    500: '#172502',
    950: '#000000',
  },
}
SCSS
$custom: #172502;
$custom-light: #545f47;
$custom-dark: #000000;
JSON
{
  "hex": "#172502",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 84,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24275,
    "c": 0.06032,
    "h": 128.6
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#172502
secondary
#39186A
accent
#29FF7E
background
#F4F5F4
surface
#E8E9E6
border
#C4C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #172502

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

Preview Lab → · Contrast checker → · Palette generator →

#172502 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva