#18520F#18520F

#18520F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.6% C 0.114 H 141.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#18520F
RGBrgb(24, 82, 15)
HSLhsl(112, 69%, 19%)
HSVhsv(112, 82%, 32%)
CMYKcmyk(70.7%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.07, -32.53, 31.72)
CIE-LCHlch(30.07, 45.44, 135.72°)
OKLaboklab(38.64% -0.0889 0.0714)
OKLCHoklch(38.64% 0.114 141.2)
XYZxyz(3.4800, 6.2629, 1.4773)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18520F #490F52
analogous
#3A520F #18520F #0F5228
triadic
#18520F #0F1852 #520F18
tetradic
#18520F #0F3A52 #490F52 #52280F
square
#18520F #0F3A52 #490F52 #52280F
split-complementary
#18520F #280F52 #520F3A
monochromatic
#081A05 #091E06 #18520F #278618 #36B922

Accessibility & contrast

On white

9.32
#18520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#18520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18520F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18520F#FFFFFF#000000##FFFFFF
##18520F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A03
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#0D4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18520f;
/* rgb */ color: rgb(24, 82, 15);
/* oklch */ color: oklch(38.6% 0.114 141.2);
Tailwind
colors: {
  custom: {
    50: '#5e8353',
    500: '#18520f',
    950: '#000000',
  },
}
SCSS
$custom: #18520f;
$custom-light: #5e8353;
$custom-dark: #000000;
JSON
{
  "hex": "#18520f",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 111.94,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.11401,
    "h": 141.2
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#18520F
secondary
#80318C
accent
#3CECD4
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #18520F

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

Preview Lab → · Contrast checker → · Palette generator →

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