#18842C#18842C

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

Color values

HEX#18842C
RGBrgb(24, 132, 44)
HSLhsl(131, 69%, 31%)
HSVhsv(131, 82%, 52%)
CMYKcmyk(81.8%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.11, -47.73, 38.14)
CIE-LCHlch(48.11, 61.10, 141.37°)
OKLaboklab(53.69% -0.1286 0.0887)
OKLCHoklch(53.69% 0.156 145.4)
XYZxyz(9.0819, 16.8775, 5.1614)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18842C #841870
analogous
#3A8418 #18842C #188462
triadic
#18842C #2C1884 #842C18
tetradic
#18842C #183A84 #841870 #846218
square
#18842C #183A84 #841870 #846218
split-complementary
#18842C #621884 #84183A
monochromatic
#051C09 #0F501B #18842C #21B83D #3BDB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18842C#FFFFFF#000000##FFFFFF
##18842C1.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)
#867721
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18842c;
/* rgb */ color: rgb(24, 132, 44);
/* oklch */ color: oklch(53.7% 0.156 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa969',
    500: '#18842c',
    950: '#000000',
  },
}
SCSS
$custom: #18842c;
$custom-light: #6aa969;
$custom-dark: #000000;
JSON
{
  "hex": "#18842c",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 131.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.15625,
    "h": 145.4
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

primary
#18842C
secondary
#B840A2
accent
#3CCBEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #18842C

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

Preview Lab → · Contrast checker → · Palette generator →

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