#18821E#18821E

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

Color values

HEX#18821E
RGBrgb(24, 130, 30)
HSLhsl(123, 69%, 30%)
HSVhsv(123, 82%, 51%)
CMYKcmyk(81.5%, 0%, 76.9%, 49%)
CIE-LABlab(47.30, -48.45, 43.15)
CIE-LCHlch(47.30, 64.88, 138.31°)
OKLaboklab(52.99% -0.1312 0.0974)
OKLCHoklch(52.99% 0.163 143.4)
XYZxyz(8.5931, 16.2522, 3.9121)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18821E #82187C
analogous
#478218 #18821E #188253
triadic
#18821E #1E1882 #821E18
tetradic
#18821E #184782 #82187C #825318
square
#18821E #184782 #82187C #825318
split-complementary
#18821E #531882 #821847
monochromatic
#051B06 #0E4E12 #18821E #22B62A #3ADB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18821E#FFFFFF#000000##FFFFFF
##18821E1.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)
#857509
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18821e;
/* rgb */ color: rgb(24, 130, 30);
/* oklch */ color: oklch(53.0% 0.163 143.4);
Tailwind
colors: {
  custom: {
    50: '#6aa761',
    500: '#18821e',
    950: '#000000',
  },
}
SCSS
$custom: #18821e;
$custom-light: #6aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#18821e",
  "rgb": {
    "r": 24,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 123.396,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.16344,
    "h": 143.4
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#18821E
secondary
#B640AF
accent
#3CE2EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #18821E

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

Preview Lab → · Contrast checker → · Palette generator →

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