#158223#158223

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

Color values

HEX#158223
RGBrgb(21, 130, 35)
HSLhsl(128, 72%, 30%)
HSVhsv(128, 84%, 51%)
CMYKcmyk(83.8%, 0%, 73.1%, 49%)
CIE-LABlab(47.29, -48.40, 41.17)
CIE-LCHlch(47.29, 63.54, 139.62°)
OKLaboklab(52.98% -0.1307 0.094)
OKLCHoklch(52.98% 0.161 144.3)
XYZxyz(8.5947, 16.2450, 4.2724)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158223 #821574
analogous
#3E8215 #158223 #158259
triadic
#158223 #231582 #822315
tetradic
#158223 #153E82 #821574 #825915
square
#158223 #153E82 #821574 #825915
split-complementary
#158223 #591582 #82153E
monochromatic
#041A07 #0C4D15 #158223 #1EB731 #33DE49

Accessibility & contrast

On white

4.94
#158223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#158223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##158223#FFFFFF#000000##FFFFFF
##1582231.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)
#857514
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158223;
/* rgb */ color: rgb(21, 130, 35);
/* oklch */ color: oklch(53.0% 0.161 144.3);
Tailwind
colors: {
  custom: {
    50: '#69a764',
    500: '#158223',
    950: '#000000',
  },
}
SCSS
$custom: #158223;
$custom-light: #69a764;
$custom-dark: #000000;
JSON
{
  "hex": "#158223",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 127.706,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.161,
    "h": 144.3
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#158223
secondary
#B73CA7
accent
#39D8EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #158223

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

Preview Lab → · Contrast checker → · Palette generator →

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