#18450B#18450B

#18450B is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.099 H 139.8°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#18450B
RGBrgb(24, 69, 11)
HSLhsl(107, 73%, 16%)
HSVhsv(107, 84%, 27%)
CMYKcmyk(65.2%, 0%, 84.1%, 72.9%)
CIE-LABlab(25.18, -27.53, 28.50)
CIE-LCHlch(25.18, 39.62, 134.01°)
OKLaboklab(34.59% -0.0756 0.064)
OKLCHoklch(34.59% 0.099 139.8)
XYZxyz(2.5651, 4.4744, 1.0450)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18450B #380B45
analogous
#35450B #18450B #0B451B
triadic
#18450B #0B1845 #450B18
tetradic
#18450B #0B3545 #380B45 #451B0B
square
#18450B #0B3545 #380B45 #451B0B
split-complementary
#18450B #1B0B45 #450B35
monochromatic
#091A04 #091A04 #18450B #2A7A13 #3DAF1C

Accessibility & contrast

On white

11.08
#18450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#18450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18450B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18450B#FFFFFF#000000##FFFFFF
##18450B1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E02
Deuteranopia (green-blind)
#423A11
Tritanopia (blue-blind)
#13423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18450b;
/* rgb */ color: rgb(24, 69, 11);
/* oklch */ color: oklch(34.6% 0.099 139.8);
Tailwind
colors: {
  custom: {
    50: '#5b794f',
    500: '#18450b',
    950: '#000000',
  },
}
SCSS
$custom: #18450b;
$custom-light: #5b794f;
$custom-dark: #000000;
JSON
{
  "hex": "#18450b",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 106.552,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34591,
    "c": 0.0991,
    "h": 139.8
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#18450B
secondary
#6E2A81
accent
#39EFC6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #18450B

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

Preview Lab → · Contrast checker → · Palette generator →

#18450B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva