#18891C#18891C

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

Color values

HEX#18891C
RGBrgb(24, 137, 28)
HSLhsl(122, 70%, 32%)
HSVhsv(122, 82%, 54%)
CMYKcmyk(82.5%, 0%, 79.6%, 46.3%)
CIE-LABlab(49.70, -50.89, 46.22)
CIE-LCHlch(49.70, 68.75, 137.75°)
OKLaboklab(54.97% -0.138 0.1036)
OKLCHoklch(54.97% 0.173 143.1)
XYZxyz(9.5313, 18.1682, 4.1029)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18891C #891885
analogous
#4D8918 #18891C #188955
triadic
#18891C #1C1889 #891C18
tetradic
#18891C #184D89 #891885 #895518
square
#18891C #184D89 #891885 #895518
split-complementary
#18891C #551889 #89184D
monochromatic
#062107 #0F5511 #18891C #21BD27 #3EDD44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18891C#FFFFFF#000000##000000
##18891C1.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)
#807329
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #18891c;
/* rgb */ color: rgb(24, 137, 28);
/* oklch */ color: oklch(55.0% 0.172 143.1);
Tailwind
colors: {
  custom: {
    50: '#6cad61',
    500: '#18891c',
    950: '#000000',
  },
}
SCSS
$custom: #18891c;
$custom-light: #6cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#18891c",
  "rgb": {
    "r": 24,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 122.124,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.1725,
    "h": 143.1
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#18891C
secondary
#BD40B8
accent
#3BE7ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18891C

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

Preview Lab → · Contrast checker → · Palette generator →

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