#18891B#18891B

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

Color values

HEX#18891B
RGBrgb(24, 137, 27)
HSLhsl(122, 70%, 32%)
HSVhsv(122, 82%, 54%)
CMYKcmyk(82.5%, 0%, 80.3%, 46.3%)
CIE-LABlab(49.69, -50.96, 46.55)
CIE-LCHlch(49.69, 69.02, 137.59°)
OKLaboklab(54.97% -0.1382 0.1041)
OKLCHoklch(54.97% 0.173 143)
XYZxyz(9.5196, 18.1635, 4.0409)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18891B #891886
analogous
#4E8918 #18891B #188954
triadic
#18891B #1B1889 #891B18
tetradic
#18891B #184E89 #891886 #895418
square
#18891B #184E89 #891886 #895418
split-complementary
#18891B #541889 #89184E
monochromatic
#062106 #0F5511 #18891B #21BD25 #3EDD42

Accessibility & contrast

On white

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

On black

4.63
#18891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18891B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18891B#FFFFFF#000000##000000
##18891B1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #18891b;
/* rgb */ color: rgb(24, 137, 27);
/* oklch */ color: oklch(55.0% 0.173 143.0);
Tailwind
colors: {
  custom: {
    50: '#6cad61',
    500: '#18891b',
    950: '#000000',
  },
}
SCSS
$custom: #18891b;
$custom-light: #6cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#18891b",
  "rgb": {
    "r": 24,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 121.593,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.17302,
    "h": 143
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#18891B
secondary
#BD40B9
accent
#3BE8ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18891B

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

Preview Lab → · Contrast checker → · Palette generator →

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