#18862E#18862E

#18862E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.157 H 145.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#18862E
RGBrgb(24, 134, 46)
HSLhsl(132, 70%, 31%)
HSVhsv(132, 82%, 53%)
CMYKcmyk(82.1%, 0%, 65.7%, 47.5%)
CIE-LABlab(48.81, -48.18, 38.01)
CIE-LCHlch(48.81, 61.37, 141.73°)
OKLaboklab(54.28% -0.1298 0.0886)
OKLCHoklch(54.28% 0.157 145.7)
XYZxyz(9.3942, 17.4405, 5.4555)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18862E #861870
analogous
#398618 #18862E #188665
triadic
#18862E #2E1886 #862E18
tetradic
#18862E #183986 #861870 #866518
square
#18862E #183986 #861870 #866518
split-complementary
#18862E #651886 #861839
monochromatic
#051E0A #0F521C #18862E #21BA40 #3CDC5C

Accessibility & contrast

On white

4.68
#18862E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#18862E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18862E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18862E#FFFFFF#000000##FFFFFF
##18862E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#7C7136
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18862e;
/* rgb */ color: rgb(24, 134, 46);
/* oklch */ color: oklch(54.3% 0.157 145.7);
Tailwind
colors: {
  custom: {
    50: '#6aaa6a',
    500: '#18862e',
    950: '#000000',
  },
}
SCSS
$custom: #18862e;
$custom-light: #6aaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18862e",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 132,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.15715,
    "h": 145.7
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#18862E
secondary
#BA40A1
accent
#3BC9EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18862E

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

Preview Lab → · Contrast checker → · Palette generator →

#18862E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva