#18502F#18502F

#18502F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.081 H 153.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#18502F
RGBrgb(24, 80, 47)
HSLhsl(145, 54%, 20%)
HSVhsv(145, 70%, 31%)
CMYKcmyk(70%, 0%, 41.3%, 68.6%)
CIE-LABlab(29.75, -26.88, 14.25)
CIE-LCHlch(29.75, 30.42, 152.07°)
OKLaboklab(38.52% -0.0727 0.0356)
OKLCHoklch(38.52% 0.081 153.9)
XYZxyz(3.7581, 6.1364, 3.6752)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18502F #501839
analogous
#1D5018 #18502F #18504B
triadic
#18502F #2F1850 #502F18
tetradic
#18502F #181D50 #501839 #504B18
square
#18502F #181D50 #501839 #504B18
split-complementary
#18502F #4B1850 #50181D
monochromatic
#07180E #0A2113 #18502F #267F4B #34AE66

Accessibility & contrast

On white

9.43
#18502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#18502F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18502F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18502F#FFFFFF#000000##FFFFFF
##18502F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#494431
Tritanopia (blue-blind)
#014F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18502f;
/* rgb */ color: rgb(24, 80, 47);
/* oklch */ color: oklch(38.5% 0.081 153.9);
Tailwind
colors: {
  custom: {
    50: '#5c8267',
    500: '#18502f',
    950: '#000000',
  },
}
SCSS
$custom: #18502f;
$custom-light: #5c8267;
$custom-dark: #000000;
JSON
{
  "hex": "#18502f",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 144.643,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.08098,
    "h": 153.9
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#18502F
secondary
#873D68
accent
#4BA1DD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #18502F

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

Preview Lab → · Contrast checker → · Palette generator →

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