#18841A#18841A

#18841A is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.168 H 142.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#18841A
RGBrgb(24, 132, 26)
HSLhsl(121, 69%, 31%)
HSVhsv(121, 82%, 52%)
CMYKcmyk(81.8%, 0%, 80.3%, 48.2%)
CIE-LABlab(47.97, -49.42, 45.22)
CIE-LCHlch(47.97, 66.99, 137.54°)
OKLaboklab(53.53% -0.134 0.1012)
OKLCHoklch(53.53% 0.168 142.9)
XYZxyz(8.8138, 16.7702, 3.7495)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18841A #841882
analogous
#4C8418 #18841A #188450
triadic
#18841A #1A1884 #841A18
tetradic
#18841A #184C84 #841882 #845018
square
#18841A #184C84 #841882 #845018
split-complementary
#18841A #501884 #84184C
monochromatic
#051C06 #0F5010 #18841A #21B824 #3BDB3E

Accessibility & contrast

On white

4.82
#18841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#18841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18841A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18841A#FFFFFF#000000##FFFFFF
##18841A1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18841a;
/* rgb */ color: rgb(24, 132, 26);
/* oklch */ color: oklch(53.5% 0.168 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ba960',
    500: '#18841a',
    950: '#000000',
  },
}
SCSS
$custom: #18841a;
$custom-light: #6ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#18841a",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 121.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.16794,
    "h": 142.9
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#18841A
secondary
#B840B6
accent
#3CE9EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18841A

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

Preview Lab → · Contrast checker → · Palette generator →

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