#18862A#18862A

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

Color values

HEX#18862A
RGBrgb(24, 134, 42)
HSLhsl(130, 70%, 31%)
HSVhsv(130, 82%, 53%)
CMYKcmyk(82.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.77, -48.64, 39.78)
CIE-LCHlch(48.77, 62.83, 140.72°)
OKLaboklab(54.24% -0.1312 0.0919)
OKLCHoklch(54.24% 0.16 145)
XYZxyz(9.3190, 17.4104, 5.0594)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18862A #861874
analogous
#3D8618 #18862A #188661
triadic
#18862A #2A1886 #862A18
tetradic
#18862A #183D86 #861874 #866118
square
#18862A #183D86 #861874 #866118
split-complementary
#18862A #611886 #86183D
monochromatic
#051E09 #0F521A #18862A #21BA3A #3CDC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18862A#FFFFFF#000000##FFFFFF
##18862A1.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)
#88791E
Deuteranopia (green-blind)
#7C7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18862a;
/* rgb */ color: rgb(24, 134, 42);
/* oklch */ color: oklch(54.2% 0.160 145.0);
Tailwind
colors: {
  custom: {
    50: '#6baa68',
    500: '#18862a',
    950: '#000000',
  },
}
SCSS
$custom: #18862a;
$custom-light: #6baa68;
$custom-dark: #000000;
JSON
{
  "hex": "#18862a",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 129.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.16018,
    "h": 145
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#18862A
secondary
#BA40A6
accent
#3BCFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #18862A

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

Preview Lab → · Contrast checker → · Palette generator →

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