#18821F#18821F

#18821F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.163 H 143.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#18821F
RGBrgb(24, 130, 31)
HSLhsl(124, 69%, 30%)
HSVhsv(124, 82%, 51%)
CMYKcmyk(81.5%, 0%, 76.2%, 49%)
CIE-LABlab(47.31, -48.37, 42.78)
CIE-LCHlch(47.31, 64.57, 138.51°)
OKLaboklab(52.99% -0.131 0.0968)
OKLCHoklch(52.99% 0.163 143.5)
XYZxyz(8.6061, 16.2573, 3.9805)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18821F #82187B
analogous
#468218 #18821F #188254
triadic
#18821F #1F1882 #821F18
tetradic
#18821F #184682 #82187B #825418
square
#18821F #184682 #82187B #825418
split-complementary
#18821F #541882 #821846
monochromatic
#051B06 #0E4E13 #18821F #22B62B #3ADB44

Accessibility & contrast

On white

4.94
#18821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#18821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18821F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18821F#FFFFFF#000000##FFFFFF
##18821F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18821f;
/* rgb */ color: rgb(24, 130, 31);
/* oklch */ color: oklch(53.0% 0.163 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa762',
    500: '#18821f',
    950: '#000000',
  },
}
SCSS
$custom: #18821f;
$custom-light: #6aa762;
$custom-dark: #000000;
JSON
{
  "hex": "#18821f",
  "rgb": {
    "r": 24,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 123.962,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.16285,
    "h": 143.5
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#18821F
secondary
#B640AE
accent
#3CE0EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #18821F

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

Preview Lab → · Contrast checker → · Palette generator →

#18821F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva