#18862B#18862B

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

Color values

HEX#18862B
RGBrgb(24, 134, 43)
HSLhsl(130, 70%, 31%)
HSVhsv(130, 82%, 53%)
CMYKcmyk(82.1%, 0%, 67.9%, 47.5%)
CIE-LABlab(48.78, -48.53, 39.34)
CIE-LCHlch(48.78, 62.47, 140.97°)
OKLaboklab(54.25% -0.1308 0.0911)
OKLCHoklch(54.25% 0.159 145.2)
XYZxyz(9.3372, 17.4177, 5.1549)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18862B #861873
analogous
#3C8618 #18862B #188662
triadic
#18862B #2B1886 #862B18
tetradic
#18862B #183C86 #861873 #866218
square
#18862B #183C86 #861873 #866218
split-complementary
#18862B #621886 #86183C
monochromatic
#051E0A #0F521A #18862B #21BA3C #3CDC58

Accessibility & contrast

On white

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

On black

4.48
#18862B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18862B#FFFFFF#000000##FFFFFF
##18862B1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#7C7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18862b;
/* rgb */ color: rgb(24, 134, 43);
/* oklch */ color: oklch(54.2% 0.159 145.2);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#18862b',
    950: '#000000',
  },
}
SCSS
$custom: #18862b;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#18862b",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 130.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.15944,
    "h": 145.2
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#18862B
secondary
#BA40A5
accent
#3BCEEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #18862B

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

Preview Lab → · Contrast checker → · Palette generator →

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