#18891F#18891F

#18891F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.171 H 143.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#18891F
RGBrgb(24, 137, 31)
HSLhsl(124, 70%, 32%)
HSVhsv(124, 82%, 54%)
CMYKcmyk(82.5%, 0%, 77.4%, 46.3%)
CIE-LABlab(49.72, -50.66, 45.19)
CIE-LCHlch(49.72, 67.89, 138.27°)
OKLaboklab(55% -0.1372 0.1018)
OKLCHoklch(55% 0.171 143.4)
XYZxyz(9.5690, 18.1833, 4.3015)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18891F #891882
analogous
#4A8918 #18891F #188958
triadic
#18891F #1F1889 #891F18
tetradic
#18891F #184A89 #891882 #895818
square
#18891F #184A89 #891882 #895818
split-complementary
#18891F #581889 #89184A
monochromatic
#062107 #0F5513 #18891F #21BD2B #3EDD48

Accessibility & contrast

On white

4.53
#18891F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#18891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18891F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18891F#FFFFFF#000000##000000
##18891F1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #18891f;
/* rgb */ color: rgb(24, 137, 31);
/* oklch */ color: oklch(55.0% 0.171 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cad63',
    500: '#18891f',
    950: '#000000',
  },
}
SCSS
$custom: #18891f;
$custom-light: #6cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#18891f",
  "rgb": {
    "r": 24,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 123.717,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.17086,
    "h": 143.4
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#18891F
secondary
#BD40B5
accent
#3BE2ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #18891F

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

Preview Lab → · Contrast checker → · Palette generator →

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