#174B18#174B18

#174B18 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.098 H 143.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#174B18
RGBrgb(23, 75, 24)
HSLhsl(121, 53%, 19%)
HSVhsv(121, 69%, 29%)
CMYKcmyk(69.3%, 0%, 68%, 70.6%)
CIE-LABlab(27.52, -28.97, 24.82)
CIE-LCHlch(27.52, 38.14, 139.41°)
OKLaboklab(36.55% -0.0786 0.0581)
OKLCHoklch(36.55% 0.098 143.5)
XYZxyz(3.0341, 5.2800, 1.7232)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B18 #4B174A
analogous
#304B17 #174B18 #174B32
triadic
#174B18 #18174B #4B1817
tetradic
#174B18 #17304B #4B174A #4B3217
square
#174B18 #17304B #4B174A #4B3217
split-complementary
#174B18 #32174B #4B1730
monochromatic
#071707 #091C09 #174B18 #257A27 #34A936

Accessibility & contrast

On white

10.21
#174B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#174B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B18
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B18#FFFFFF#000000##FFFFFF
##174B181.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#0C4940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #174b18;
/* rgb */ color: rgb(23, 75, 24);
/* oklch */ color: oklch(36.5% 0.098 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c7e57',
    500: '#174b18',
    950: '#000000',
  },
}
SCSS
$custom: #174b18;
$custom-light: #5c7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#174b18",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 121.154,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.09776,
    "h": 143.5
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#174B18
secondary
#823C81
accent
#4BDADC
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #174B18

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

Preview Lab → · Contrast checker → · Palette generator →

#174B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva