#155F38#155F38

#155F38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.096 H 155.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#155F38
RGBrgb(21, 95, 56)
HSLhsl(148, 64%, 23%)
HSVhsv(148, 78%, 37%)
CMYKcmyk(77.9%, 0%, 41.1%, 62.7%)
CIE-LABlab(35.26, -32.18, 16.11)
CIE-LCHlch(35.26, 35.98, 153.40°)
OKLaboklab(43.09% -0.0869 0.0403)
OKLCHoklch(43.09% 0.096 155.1)
XYZxyz(5.1148, 8.6288, 5.1366)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F38 #5F153C
analogous
#175F15 #155F38 #155F5D
triadic
#155F38 #38155F #5F3815
tetradic
#155F38 #15175F #5F153C #5F5D15
square
#155F38 #15175F #5F153C #5F5D15
split-complementary
#155F38 #5D155F #5F1517
monochromatic
#06190F #0A2D1A #155F38 #209156 #2BC373

Accessibility & contrast

On white

7.70
#155F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#155F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F38
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F38#FFFFFF#000000##FFFFFF
##155F381.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#56503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #155f38;
/* rgb */ color: rgb(21, 95, 56);
/* oklch */ color: oklch(43.1% 0.096 155.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d6f',
    500: '#155f38',
    950: '#000000',
  },
}
SCSS
$custom: #155f38;
$custom-light: #5f8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#155f38",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 148.378,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.09574,
    "h": 155.1
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#155F38
secondary
#963A6A
accent
#4198E7
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #155F38

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

Preview Lab → · Contrast checker → · Palette generator →

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