#158226#158226

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

Color values

HEX#158226
RGBrgb(21, 130, 38)
HSLhsl(129, 72%, 30%)
HSVhsv(129, 84%, 51%)
CMYKcmyk(83.8%, 0%, 70.8%, 49%)
CIE-LABlab(47.32, -48.10, 39.93)
CIE-LCHlch(47.32, 62.52, 140.30°)
OKLaboklab(53.01% -0.1298 0.0918)
OKLCHoklch(53.01% 0.159 144.7)
XYZxyz(8.6411, 16.2636, 4.5171)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158226 #821571
analogous
#3B8215 #158226 #15825D
triadic
#158226 #261582 #822615
tetradic
#158226 #153B82 #821571 #825D15
square
#158226 #153B82 #821571 #825D15
split-complementary
#158226 #5D1582 #82153B
monochromatic
#041A08 #0C4D17 #158226 #1EB735 #33DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158226#FFFFFF#000000##FFFFFF
##1582261.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)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158226;
/* rgb */ color: rgb(21, 130, 38);
/* oklch */ color: oklch(53.0% 0.159 144.7);
Tailwind
colors: {
  custom: {
    50: '#69a765',
    500: '#158226',
    950: '#000000',
  },
}
SCSS
$custom: #158226;
$custom-light: #69a765;
$custom-dark: #000000;
JSON
{
  "hex": "#158226",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 129.358,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.15895,
    "h": 144.7
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#158226
secondary
#B73CA4
accent
#39D3EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #158226

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

Preview Lab → · Contrast checker → · Palette generator →

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