#174004#174004

#174004 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.098 H 138.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#174004
RGBrgb(23, 64, 4)
HSLhsl(101, 88%, 13%)
HSVhsv(101, 94%, 25%)
CMYKcmyk(64.1%, 0%, 93.8%, 74.9%)
CIE-LABlab(23.19, -26.26, 29.36)
CIE-LCHlch(23.19, 39.39, 131.81°)
OKLaboklab(32.92% -0.0727 0.065)
OKLCHoklch(32.92% 0.098 138.2)
XYZxyz(2.2086, 3.8575, 0.7430)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174004 #2D0440
analogous
#354004 #174004 #04400F
triadic
#174004 #041740 #400417
tetradic
#174004 #043540 #2D0440 #400F04
square
#174004 #043540 #2D0440 #400F04
split-complementary
#174004 #0F0440 #400435
monochromatic
#0A1D02 #0A1D02 #174004 #2C7A08 #40B30B

Accessibility & contrast

On white

11.85
#174004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#174004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174004
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174004#FFFFFF#000000##FFFFFF
##1740041.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#133D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #174004;
/* rgb */ color: rgb(23, 64, 4);
/* oklch */ color: oklch(32.9% 0.098 138.2);
Tailwind
colors: {
  custom: {
    50: '#5a754a',
    500: '#174004',
    950: '#000000',
  },
}
SCSS
$custom: #174004;
$custom-light: #5a754a;
$custom-dark: #000000;
JSON
{
  "hex": "#174004",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 101,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.09751,
    "h": 138.2
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#174004
secondary
#621F81
accent
#29FEBB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #174004

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

Preview Lab → · Contrast checker → · Palette generator →

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