#18540E#18540E

#18540E is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.2% C 0.117 H 141.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#18540E
RGBrgb(24, 84, 14)
HSLhsl(111, 71%, 19%)
HSVhsv(111, 83%, 33%)
CMYKcmyk(71.4%, 0%, 83.3%, 67.1%)
CIE-LABlab(30.80, -33.40, 32.83)
CIE-LCHlch(30.80, 46.83, 135.49°)
OKLaboklab(39.25% -0.0913 0.0736)
OKLCHoklch(39.25% 0.117 141.1)
XYZxyz(3.6261, 6.5662, 1.4917)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18540E #4A0E54
analogous
#3B540E #18540E #0E5427
triadic
#18540E #0E1854 #540E18
tetradic
#18540E #0E3B54 #4A0E54 #54270E
square
#18540E #0E3B54 #4A0E54 #54270E
split-complementary
#18540E #270E54 #540E3B
monochromatic
#071A04 #092005 #18540E #278817 #36BD1F

Accessibility & contrast

On white

9.08
#18540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#18540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18540E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18540E#FFFFFF#000000##FFFFFF
##18540E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B01
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#0D5147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18540e;
/* rgb */ color: rgb(24, 84, 14);
/* oklch */ color: oklch(39.2% 0.117 141.1);
Tailwind
colors: {
  custom: {
    50: '#5f8553',
    500: '#18540e',
    950: '#000000',
  },
}
SCSS
$custom: #18540e;
$custom-light: #5f8553;
$custom-dark: #000000;
JSON
{
  "hex": "#18540e",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 111.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.11722,
    "h": 141.1
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#18540E
secondary
#812F8E
accent
#3AEED4
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #18540E

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

Preview Lab → · Contrast checker → · Palette generator →

#18540E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva