#155F26#155F26

#155F26 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.114 H 147.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#155F26
RGBrgb(21, 95, 38)
HSLhsl(134, 64%, 23%)
HSVhsv(134, 78%, 37%)
CMYKcmyk(77.9%, 0%, 60%, 62.7%)
CIE-LABlab(34.97, -35.51, 26.03)
CIE-LCHlch(34.97, 44.03, 143.76°)
OKLaboklab(42.76% -0.0956 0.062)
OKLCHoklch(42.76% 0.114 147)
XYZxyz(4.7510, 8.4832, 3.2204)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F26 #5F154E
analogous
#295F15 #155F26 #155F4B
triadic
#155F26 #26155F #5F2615
tetradic
#155F26 #15295F #5F154E #5F4B15
square
#155F26 #15295F #5F154E #5F4B15
split-complementary
#155F26 #4B155F #5F1529
monochromatic
#06190A #0A2D12 #155F26 #20913A #2BC34E

Accessibility & contrast

On white

7.79
#155F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#155F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F26
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F26#FFFFFF#000000##FFFFFF
##155F261.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605621
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f26;
/* rgb */ color: rgb(21, 95, 38);
/* oklch */ color: oklch(42.8% 0.114 147.0);
Tailwind
colors: {
  custom: {
    50: '#5f8d62',
    500: '#155f26',
    950: '#000000',
  },
}
SCSS
$custom: #155f26;
$custom-light: #5f8d62;
$custom-dark: #000000;
JSON
{
  "hex": "#155f26",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 38
  },
  "hsl": {
    "h": 133.784,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.11401,
    "h": 147
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#155F26
secondary
#963A81
accent
#41C1E7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155F26

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

Preview Lab → · Contrast checker → · Palette generator →

#155F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva