#173902#173902

#173902 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.090 H 136.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#173902
RGBrgb(23, 57, 2)
HSLhsl(97, 93%, 12%)
HSVhsv(97, 96%, 22%)
CMYKcmyk(59.6%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.49, -23.34, 27.29)
CIE-LCHlch(20.49, 35.91, 130.53°)
OKLaboklab(30.69% -0.0651 0.0616)
OKLCHoklch(30.69% 0.09 136.6)
XYZxyz(1.8274, 3.1127, 0.5619)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173902 #240239
analogous
#333902 #173902 #023909
triadic
#173902 #021739 #390217
tetradic
#173902 #023339 #240239 #390902
square
#173902 #023339 #240239 #390902
split-complementary
#173902 #090239 #390233
monochromatic
#0C1E01 #0C1E01 #173902 #2F7404 #47AF06

Accessibility & contrast

On white

12.94
#173902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#173902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173902
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173902#FFFFFF#000000##FFFFFF
##1739021.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#373007
Tritanopia (blue-blind)
#15362F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173902;
/* rgb */ color: rgb(23, 57, 2);
/* oklch */ color: oklch(30.7% 0.090 136.6);
Tailwind
colors: {
  custom: {
    50: '#597048',
    500: '#173902',
    950: '#000000',
  },
}
SCSS
$custom: #173902;
$custom-light: #597048;
$custom-dark: #000000;
JSON
{
  "hex": "#173902",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 97.091,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30686,
    "c": 0.08962,
    "h": 136.6
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#173902
secondary
#571A7D
accent
#29FFAD
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173902

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

Preview Lab → · Contrast checker → · Palette generator →

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