#18561F#18561F

#18561F is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.107 H 145.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#18561F
RGBrgb(24, 86, 31)
HSLhsl(127, 56%, 22%)
HSVhsv(127, 72%, 34%)
CMYKcmyk(72.1%, 0%, 64%, 66.3%)
CIE-LABlab(31.69, -32.34, 25.92)
CIE-LCHlch(31.69, 41.45, 141.29°)
OKLaboklab(40.03% -0.0875 0.0612)
OKLCHoklch(40.03% 0.107 145)
XYZxyz(3.9515, 6.9483, 2.4290)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18561F #56184F
analogous
#305618 #18561F #18563E
triadic
#18561F #1F1856 #561F18
tetradic
#18561F #183056 #56184F #563E18
square
#18561F #183056 #56184F #563E18
split-complementary
#18561F #3E1856 #561830
monochromatic
#071809 #0B260E #18561F #258630 #33B641

Accessibility & contrast

On white

8.79
#18561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#18561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18561F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18561F#FFFFFF#000000##FFFFFF
##18561F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E19
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#06544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18561f;
/* rgb */ color: rgb(24, 86, 31);
/* oklch */ color: oklch(40.0% 0.107 145.0);
Tailwind
colors: {
  custom: {
    50: '#5e865d',
    500: '#18561f',
    950: '#000000',
  },
}
SCSS
$custom: #18561f;
$custom-light: #5e865d;
$custom-dark: #000000;
JSON
{
  "hex": "#18561f",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 126.774,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.10675,
    "h": 145
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#18561F
secondary
#8D3D84
accent
#48CFE0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18561F

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

Preview Lab → · Contrast checker → · Palette generator →

#18561F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva