#18841B#18841B

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

Color values

HEX#18841B
RGBrgb(24, 132, 27)
HSLhsl(122, 69%, 31%)
HSVhsv(122, 82%, 52%)
CMYKcmyk(81.8%, 0%, 79.5%, 48.2%)
CIE-LABlab(47.98, -49.34, 44.89)
CIE-LCHlch(47.98, 66.71, 137.71°)
OKLaboklab(53.54% -0.1338 0.1006)
OKLCHoklch(53.54% 0.167 143)
XYZxyz(8.8252, 16.7748, 3.8094)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18841B #841881
analogous
#4B8418 #18841B #188451
triadic
#18841B #1B1884 #841B18
tetradic
#18841B #184B84 #841881 #845118
square
#18841B #184B84 #841881 #845118
split-complementary
#18841B #511884 #84184B
monochromatic
#051C06 #0F5010 #18841B #21B826 #3BDB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18841B#FFFFFF#000000##FFFFFF
##18841B1.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)
#877701
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18841b;
/* rgb */ color: rgb(24, 132, 27);
/* oklch */ color: oklch(53.5% 0.167 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ba960',
    500: '#18841b',
    950: '#000000',
  },
}
SCSS
$custom: #18841b;
$custom-light: #6ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#18841b",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 121.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.16742,
    "h": 143
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#18841B
secondary
#B840B5
accent
#3CE7EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18841B

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

Preview Lab → · Contrast checker → · Palette generator →

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