#18480C#18480C

#18480C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.103 H 140.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#18480C
RGBrgb(24, 72, 12)
HSLhsl(108, 71%, 16%)
HSVhsv(108, 83%, 28%)
CMYKcmyk(66.7%, 0%, 83.3%, 71.8%)
CIE-LABlab(26.32, -28.72, 29.22)
CIE-LCHlch(26.32, 40.97, 134.51°)
OKLaboklab(35.53% -0.0788 0.0657)
OKLCHoklch(35.53% 0.103 140.2)
XYZxyz(2.7603, 4.8552, 1.1394)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18480C #3C0C48
analogous
#36480C #18480C #0C481E
triadic
#18480C #0C1848 #480C18
tetradic
#18480C #0C3648 #3C0C48 #481E0C
square
#18480C #0C3648 #3C0C48 #481E0C
split-complementary
#18480C #1E0C48 #480C36
monochromatic
#091A04 #091A04 #18480C #297C15 #3BB11D

Accessibility & contrast

On white

10.65
#18480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#18480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18480C
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18480C#FFFFFF#000000##FFFFFF
##18480C1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4102
Deuteranopia (green-blind)
#443D12
Tritanopia (blue-blind)
#12453D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18480c;
/* rgb */ color: rgb(24, 72, 12);
/* oklch */ color: oklch(35.5% 0.103 140.2);
Tailwind
colors: {
  custom: {
    50: '#5c7b50',
    500: '#18480c',
    950: '#000000',
  },
}
SCSS
$custom: #18480c;
$custom-light: #5c7b50;
$custom-dark: #000000;
JSON
{
  "hex": "#18480c",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 108,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.10257,
    "h": 140.2
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#18480C
secondary
#722C84
accent
#3AEECA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #18480C

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

Preview Lab → · Contrast checker → · Palette generator →

#18480C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva