#183B17#183B17

#183B17 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.6% C 0.073 H 143.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#183B17
RGBrgb(24, 59, 23)
HSLhsl(118, 44%, 16%)
HSVhsv(118, 61%, 23%)
CMYKcmyk(59.3%, 0%, 61%, 76.9%)
CIE-LABlab(21.52, -21.53, 18.36)
CIE-LCHlch(21.52, 28.30, 139.54°)
OKLaboklab(31.62% -0.0586 0.044)
OKLCHoklch(31.62% 0.073 143.1)
XYZxyz(2.0952, 3.3838, 1.3532)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B17 #3A173B
analogous
#2A3B17 #183B17 #173B28
triadic
#183B17 #17183B #3B1718
tetradic
#183B17 #172A3B #3A173B #3B2817
square
#183B17 #172A3B #3A173B #3B2817
split-complementary
#183B17 #28173B #3B172A
monochromatic
#091609 #091609 #183B17 #2A6728 #3C9339

Accessibility & contrast

On white

12.52
#183B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#183B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B17
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B17#FFFFFF#000000##FFFFFF
##183B171.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3614
Deuteranopia (green-blind)
#38321A
Tritanopia (blue-blind)
#133933
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #183b17;
/* rgb */ color: rgb(24, 59, 23);
/* oklch */ color: oklch(31.6% 0.073 143.1);
Tailwind
colors: {
  custom: {
    50: '#587155',
    500: '#183b17',
    950: '#000000',
  },
}
SCSS
$custom: #183b17;
$custom-light: #587155;
$custom-dark: #000000;
JSON
{
  "hex": "#183b17",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 23
  },
  "hsl": {
    "h": 118.333,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.07326,
    "h": 143.1
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#183B17
secondary
#703C72
accent
#54D4D0
background
#F5F6F4
surface
#E9ECE8
border
#C5C7C4
text
#030703
muted
#787A78

Preview Lab

Preview with #183B17

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

Preview Lab → · Contrast checker → · Palette generator →

#183B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva