#155226#155226

#155226 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.095 H 148.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#155226
RGBrgb(21, 82, 38)
HSLhsl(137, 59%, 20%)
HSVhsv(137, 74%, 32%)
CMYKcmyk(74.4%, 0%, 53.7%, 67.8%)
CIE-LABlab(30.24, -30.22, 20.26)
CIE-LCHlch(30.24, 36.38, 146.16°)
OKLaboklab(38.84% -0.0814 0.0492)
OKLCHoklch(38.84% 0.095 148.8)
XYZxyz(3.6761, 6.3336, 2.8621)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155226 #521541
analogous
#235215 #155226 #155244
triadic
#155226 #261552 #522615
tetradic
#155226 #152352 #521541 #524415
square
#155226 #152352 #521541 #524415
split-complementary
#155226 #441552 #521523
monochromatic
#06180B #09210F #155226 #21833D #2EB353

Accessibility & contrast

On white

9.26
#155226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#155226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155226
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155226#FFFFFF#000000##FFFFFF
##1552261.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A22
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155226;
/* rgb */ color: rgb(21, 82, 38);
/* oklch */ color: oklch(38.8% 0.095 148.8);
Tailwind
colors: {
  custom: {
    50: '#5c8361',
    500: '#155226',
    950: '#000000',
  },
}
SCSS
$custom: #155226;
$custom-light: #5c8361;
$custom-dark: #000000;
JSON
{
  "hex": "#155226",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 136.721,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.09513,
    "h": 148.8
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#155226
secondary
#8A3973
accent
#45B7E2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #155226

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

Preview Lab → · Contrast checker → · Palette generator →

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