#173004#173004

#173004 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.075 H 134.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#173004
RGBrgb(23, 48, 4)
HSLhsl(94, 85%, 10%)
HSVhsv(94, 92%, 19%)
CMYKcmyk(52.1%, 0%, 91.7%, 81.2%)
CIE-LABlab(17.01, -18.79, 22.40)
CIE-LCHlch(17.01, 29.24, 129.99°)
OKLaboklab(27.83% -0.0527 0.0532)
OKLCHoklch(27.83% 0.075 134.7)
XYZxyz(1.4322, 2.3047, 0.4842)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173004 #1D0430
analogous
#2D3004 #173004 #043007
triadic
#173004 #041730 #300417
tetradic
#173004 #042D30 #1D0430 #300704
square
#173004 #042D30 #1D0430 #300704
split-complementary
#173004 #070430 #30042D
monochromatic
#0E1C02 #0E1C02 #173004 #326809 #4DA10D

Accessibility & contrast

On white

14.37
#173004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#173004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173004
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173004#FFFFFF#000000##FFFFFF
##1730041.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#162E28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #173004;
/* rgb */ color: rgb(23, 48, 4);
/* oklch */ color: oklch(27.8% 0.075 134.7);
Tailwind
colors: {
  custom: {
    50: '#566849',
    500: '#173004',
    950: '#000000',
  },
}
SCSS
$custom: #173004;
$custom-light: #566849;
$custom-dark: #000000;
JSON
{
  "hex": "#173004",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 94.091,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27832,
    "c": 0.07486,
    "h": 134.7
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#173004
secondary
#4E1D72
accent
#2DFBA2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173004

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

Preview Lab → · Contrast checker → · Palette generator →

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