#18841C#18841C

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

Color values

HEX#18841C
RGBrgb(24, 132, 28)
HSLhsl(122, 69%, 31%)
HSVhsv(122, 82%, 52%)
CMYKcmyk(81.8%, 0%, 78.8%, 48.2%)
CIE-LABlab(47.98, -49.27, 44.55)
CIE-LCHlch(47.98, 66.42, 137.88°)
OKLaboklab(53.55% -0.1335 0.1001)
OKLCHoklch(53.55% 0.167 143.2)
XYZxyz(8.8370, 16.7795, 3.8714)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18841C #841880
analogous
#4A8418 #18841C #188452
triadic
#18841C #1C1884 #841C18
tetradic
#18841C #184A84 #841880 #845218
square
#18841C #184A84 #841880 #845218
split-complementary
#18841C #521884 #84184A
monochromatic
#051C06 #0F5011 #18841C #21B827 #3BDB41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18841C#FFFFFF#000000##FFFFFF
##18841C1.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)
#877704
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18841c;
/* rgb */ color: rgb(24, 132, 28);
/* oklch */ color: oklch(53.5% 0.167 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ba960',
    500: '#18841c',
    950: '#000000',
  },
}
SCSS
$custom: #18841c;
$custom-light: #6ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#18841c",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 122.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.16688,
    "h": 143.2
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#18841C
secondary
#B840B3
accent
#3CE6EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18841C

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

Preview Lab → · Contrast checker → · Palette generator →

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