#183A28#183A28

#183A28 is a dark, muted green. Relative luminance 0.034; OKLCH L 31.7% C 0.052 H 158.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#183A28
RGBrgb(24, 58, 40)
HSLhsl(148, 41%, 16%)
HSVhsv(148, 59%, 23%)
CMYKcmyk(58.6%, 0%, 31%, 77.3%)
CIE-LABlab(21.48, -17.51, 7.49)
CIE-LCHlch(21.48, 19.04, 156.85°)
OKLaboklab(31.7% -0.048 0.0191)
OKLCHoklch(31.7% 0.052 158.3)
XYZxyz(2.2726, 3.3733, 2.5384)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A28 #3A182A
analogous
#193A18 #183A28 #183A39
triadic
#183A28 #28183A #3A2818
tetradic
#183A28 #18193A #3A182A #3A3918
square
#183A28 #18193A #3A182A #3A3918
split-complementary
#183A28 #39183A #3A1819
monochromatic
#09160F #09160F #183A28 #2A6546 #3C9164

Accessibility & contrast

On white

12.54
#183A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#183A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A28
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A28#FFFFFF#000000##FFFFFF
##183A281.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393627
Deuteranopia (green-blind)
#343229
Tritanopia (blue-blind)
#0E3A35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #183a28;
/* rgb */ color: rgb(24, 58, 40);
/* oklch */ color: oklch(31.7% 0.052 158.3);
Tailwind
colors: {
  custom: {
    50: '#587061',
    500: '#183a28',
    950: '#000000',
  },
}
SCSS
$custom: #183a28;
$custom-light: #587061;
$custom-dark: #000000;
JSON
{
  "hex": "#183a28",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 148.235,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.0517,
    "h": 158.3
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#183A28
secondary
#703E58
accent
#5798D1
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #183A28

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

Preview Lab → · Contrast checker → · Palette generator →

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