#183E0C#183E0C

#183E0C is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.088 H 139.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#183E0C
RGBrgb(24, 62, 12)
HSLhsl(106, 68%, 15%)
HSVhsv(106, 81%, 24%)
CMYKcmyk(61.3%, 0%, 80.6%, 75.7%)
CIE-LABlab(22.53, -24.35, 25.39)
CIE-LCHlch(22.53, 35.18, 133.80°)
OKLaboklab(32.41% -0.067 0.0577)
OKLCHoklch(32.41% 0.088 139.3)
XYZxyz(2.1656, 3.6658, 0.9412)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E0C #320C3E
analogous
#313E0C #183E0C #0C3E19
triadic
#183E0C #0C183E #3E0C18
tetradic
#183E0C #0C313E #320C3E #3E190C
square
#183E0C #0C313E #320C3E #3E190C
split-complementary
#183E0C #190C3E #3E0C31
monochromatic
#0A1A05 #0A1A05 #183E0C #2C7116 #40A520

Accessibility & contrast

On white

12.12
#183E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#183E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E0C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E0C#FFFFFF#000000##FFFFFF
##183E0C1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#143C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183e0c;
/* rgb */ color: rgb(24, 62, 12);
/* oklch */ color: oklch(32.4% 0.088 139.3);
Tailwind
colors: {
  custom: {
    50: '#5a744e',
    500: '#183e0c',
    950: '#000000',
  },
}
SCSS
$custom: #183e0c;
$custom-light: #5a744e;
$custom-dark: #000000;
JSON
{
  "hex": "#183e0c",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 12
  },
  "hsl": {
    "h": 105.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.08841,
    "h": 139.3
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#183E0C
secondary
#672C7A
accent
#3DEAC1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #183E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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