#183A12#183A12

#183A12 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.2% C 0.077 H 140.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#183A12
RGBrgb(24, 58, 18)
HSLhsl(111, 53%, 15%)
HSVhsv(111, 69%, 23%)
CMYKcmyk(58.6%, 0%, 69%, 77.3%)
CIE-LABlab(21.07, -21.78, 20.72)
CIE-LCHlch(21.07, 30.06, 136.42°)
OKLaboklab(31.23% -0.0596 0.0486)
OKLCHoklch(31.23% 0.077 140.8)
XYZxyz(1.9988, 3.2638, 1.0968)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A12 #34123A
analogous
#2C3A12 #183A12 #123A20
triadic
#183A12 #12183A #3A1218
tetradic
#183A12 #122C3A #34123A #3A2012
square
#183A12 #122C3A #34123A #3A2012
split-complementary
#183A12 #20123A #3A122C
monochromatic
#0A1707 #0A1707 #183A12 #2B6920 #3F972F

Accessibility & contrast

On white

12.71
#183A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#183A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A12
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A12#FFFFFF#000000##FFFFFF
##183A121.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340E
Deuteranopia (green-blind)
#373115
Tritanopia (blue-blind)
#143831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183a12;
/* rgb */ color: rgb(24, 58, 18);
/* oklch */ color: oklch(31.2% 0.077 140.8);
Tailwind
colors: {
  custom: {
    50: '#597051',
    500: '#183a12',
    950: '#000000',
  },
}
SCSS
$custom: #183a12;
$custom-light: #597051;
$custom-dark: #000000;
JSON
{
  "hex": "#183a12",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 111,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31226,
    "c": 0.07691,
    "h": 140.8
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#183A12
secondary
#6A3573
accent
#4CDCC6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #183A12

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

Preview Lab → · Contrast checker → · Palette generator →

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