#155F25#155F25

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

Color values

HEX#155F25
RGBrgb(21, 95, 37)
HSLhsl(133, 64%, 23%)
HSVhsv(133, 78%, 37%)
CMYKcmyk(77.9%, 0%, 61.1%, 62.7%)
CIE-LABlab(34.96, -35.66, 26.55)
CIE-LCHlch(34.96, 44.46, 143.34°)
OKLaboklab(42.74% -0.0961 0.0631)
OKLCHoklch(42.74% 0.115 146.7)
XYZxyz(4.7351, 8.4769, 3.1366)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F25 #5F154F
analogous
#2A5F15 #155F25 #155F4A
triadic
#155F25 #25155F #5F2515
tetradic
#155F25 #152A5F #5F154F #5F4A15
square
#155F25 #152A5F #5F154F #5F4A15
split-complementary
#155F25 #4A155F #5F152A
monochromatic
#06190A #0A2D11 #155F25 #209139 #2BC34C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155F25#FFFFFF#000000##FFFFFF
##155F251.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)
#60561F
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f25;
/* rgb */ color: rgb(21, 95, 37);
/* oklch */ color: oklch(42.7% 0.115 146.7);
Tailwind
colors: {
  custom: {
    50: '#5f8d61',
    500: '#155f25',
    950: '#000000',
  },
}
SCSS
$custom: #155f25;
$custom-light: #5f8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#155f25",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 37
  },
  "hsl": {
    "h": 132.973,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.11494,
    "h": 146.7
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#155F25
secondary
#963A82
accent
#41C3E7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155F25

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

Preview Lab → · Contrast checker → · Palette generator →

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