#18873A#18873A

#18873A is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.148 H 148.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#18873A
RGBrgb(24, 135, 58)
HSLhsl(138, 70%, 31%)
HSVhsv(138, 82%, 53%)
CMYKcmyk(82.2%, 0%, 57%, 47.1%)
CIE-LABlab(49.28, -46.91, 32.72)
CIE-LCHlch(49.28, 57.20, 145.10°)
OKLaboklab(54.72% -0.126 0.0782)
OKLCHoklch(54.72% 0.148 148.2)
XYZxyz(9.8036, 17.8264, 6.9263)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18873A #871865
analogous
#2E8718 #18873A #188771
triadic
#18873A #3A1887 #873A18
tetradic
#18873A #182E87 #871865 #877118
square
#18873A #182E87 #871865 #877118
split-complementary
#18873A #711887 #87182E
monochromatic
#061F0D #0F5324 #18873A #21BB50 #3DDC6E

Accessibility & contrast

On white

4.60
#18873A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#18873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #18873A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18873A#FFFFFF#000000##FFFFFF
##18873A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A33
Deuteranopia (green-blind)
#7C7240
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #18873a;
/* rgb */ color: rgb(24, 135, 58);
/* oklch */ color: oklch(54.7% 0.148 148.2);
Tailwind
colors: {
  custom: {
    50: '#6aab72',
    500: '#18873a',
    950: '#000000',
  },
}
SCSS
$custom: #18873a;
$custom-light: #6aab72;
$custom-dark: #000000;
JSON
{
  "hex": "#18873a",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 138.378,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.14831,
    "h": 148.2
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#18873A
secondary
#BB4095
accent
#3BB6ED
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #18873A

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

Preview Lab → · Contrast checker → · Palette generator →

#18873A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva