#18841E#18841E

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

Color values

HEX#18841E
RGBrgb(24, 132, 30)
HSLhsl(123, 69%, 31%)
HSVhsv(123, 82%, 52%)
CMYKcmyk(81.8%, 0%, 77.3%, 48.2%)
CIE-LABlab(47.99, -49.11, 43.84)
CIE-LCHlch(47.99, 65.83, 138.25°)
OKLaboklab(53.56% -0.133 0.0989)
OKLCHoklch(53.56% 0.166 143.4)
XYZxyz(8.8617, 16.7894, 4.0017)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18841E #84187E
analogous
#488418 #18841E #188454
triadic
#18841E #1E1884 #841E18
tetradic
#18841E #184884 #84187E #845418
square
#18841E #184884 #84187E #845418
split-complementary
#18841E #541884 #841848
monochromatic
#051C06 #0F5012 #18841E #21B82A #3BDB44

Accessibility & contrast

On white

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

On black

4.36
#18841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18841E#FFFFFF#000000##FFFFFF
##18841E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18841e;
/* rgb */ color: rgb(24, 132, 30);
/* oklch */ color: oklch(53.6% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba961',
    500: '#18841e',
    950: '#000000',
  },
}
SCSS
$custom: #18841e;
$custom-light: #6ba961;
$custom-dark: #000000;
JSON
{
  "hex": "#18841e",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 123.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.16575,
    "h": 143.4
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#18841E
secondary
#B840B1
accent
#3CE2EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18841E

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

Preview Lab → · Contrast checker → · Palette generator →

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