#18842E#18842E

#18842E is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.155 H 145.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#18842E
RGBrgb(24, 132, 46)
HSLhsl(132, 69%, 31%)
HSVhsv(132, 82%, 52%)
CMYKcmyk(81.8%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.12, -47.49, 37.24)
CIE-LCHlch(48.12, 60.35, 141.90°)
OKLaboklab(53.71% -0.1279 0.087)
OKLCHoklch(53.71% 0.155 145.8)
XYZxyz(9.1204, 16.8929, 5.3642)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18842E #84186E
analogous
#388418 #18842E #188464
triadic
#18842E #2E1884 #842E18
tetradic
#18842E #183884 #84186E #846418
square
#18842E #183884 #84186E #846418
split-complementary
#18842E #641884 #841838
monochromatic
#051C0A #0F501C #18842E #21B840 #3BDB5C

Accessibility & contrast

On white

4.80
#18842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#18842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18842E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18842E#FFFFFF#000000##FFFFFF
##18842E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18842e;
/* rgb */ color: rgb(24, 132, 46);
/* oklch */ color: oklch(53.7% 0.155 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa96a',
    500: '#18842e',
    950: '#000000',
  },
}
SCSS
$custom: #18842e;
$custom-light: #6aa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#18842e",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 132.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.15468,
    "h": 145.8
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#18842E
secondary
#B8409F
accent
#3CC8EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18842E

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

Preview Lab → · Contrast checker → · Palette generator →

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