#158822#158822

#158822 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.169 H 144.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#158822
RGBrgb(21, 136, 34)
HSLhsl(127, 73%, 31%)
HSVhsv(127, 85%, 53%)
CMYKcmyk(84.6%, 0%, 75%, 46.7%)
CIE-LABlab(49.35, -50.46, 43.69)
CIE-LCHlch(49.35, 66.74, 139.11°)
OKLaboklab(54.69% -0.1364 0.0991)
OKLCHoklch(54.69% 0.169 144)
XYZxyz(9.4015, 17.8821, 4.4692)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158822 #88157B
analogous
#418815 #158822 #15885B
triadic
#158822 #221588 #882215
tetradic
#158822 #154188 #88157B #885B15
square
#158822 #154188 #88157B #885B15
split-complementary
#158822 #5B1588 #881541
monochromatic
#051E07 #0D5315 #158822 #1DBD2F #37E04A

Accessibility & contrast

On white

4.59
#158822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#158822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #158822
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158822#FFFFFF#000000##FFFFFF
##1588221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0F
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #158822;
/* rgb */ color: rgb(21, 136, 34);
/* oklch */ color: oklch(54.7% 0.169 144.0);
Tailwind
colors: {
  custom: {
    50: '#6bac64',
    500: '#158822',
    950: '#000000',
  },
}
SCSS
$custom: #158822;
$custom-light: #6bac64;
$custom-dark: #000000;
JSON
{
  "hex": "#158822",
  "rgb": {
    "r": 21,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 126.783,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.1686,
    "h": 144
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#158822
secondary
#BC3DAE
accent
#38DBF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158822

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

Preview Lab → · Contrast checker → · Palette generator →

#158822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva