#182F12#182F12

#182F12 is a dark, muted green. Relative luminance 0.023; OKLCH L 27.8% C 0.058 H 139.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#182F12
RGBrgb(24, 47, 18)
HSLhsl(108, 45%, 13%)
HSVhsv(108, 62%, 18%)
CMYKcmyk(48.9%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.85, -16.11, 15.73)
CIE-LCHlch(16.85, 22.51, 135.68°)
OKLaboklab(27.77% -0.0441 0.0378)
OKLCHoklch(27.77% 0.058 139.4)
XYZxyz(1.5023, 2.2708, 0.9313)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F12 #29122F
analogous
#262F12 #182F12 #122F1A
triadic
#182F12 #12182F #2F1218
tetradic
#182F12 #12262F #29122F #2F1A12
square
#182F12 #12262F #29122F #2F1A12
split-complementary
#182F12 #1A122F #2F1226
monochromatic
#0B1608 #0B1608 #182F12 #2F5B23 #458834

Accessibility & contrast

On white

14.44
#182F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#182F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F12
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F12#FFFFFF#000000##FFFFFF
##182F121.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0F
Deuteranopia (green-blind)
#2D2914
Tritanopia (blue-blind)
#162D28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182f12;
/* rgb */ color: rgb(24, 47, 18);
/* oklch */ color: oklch(27.8% 0.058 139.4);
Tailwind
colors: {
  custom: {
    50: '#566750',
    500: '#182f12',
    950: '#000000',
  },
}
SCSS
$custom: #182f12;
$custom-light: #566750;
$custom-dark: #000000;
JSON
{
  "hex": "#182f12",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 107.586,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27768,
    "c": 0.05809,
    "h": 139.4
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#182F12
secondary
#5D3667
accent
#53D4BA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #182F12

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

Preview Lab → · Contrast checker → · Palette generator →

#182F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva