#155F30#155F30

#155F30 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.104 H 150.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#155F30
RGBrgb(21, 95, 48)
HSLhsl(142, 64%, 23%)
HSVhsv(142, 78%, 37%)
CMYKcmyk(77.9%, 0%, 49.5%, 62.7%)
CIE-LABlab(35.12, -33.80, 20.62)
CIE-LCHlch(35.12, 39.60, 148.61°)
OKLaboklab(42.92% -0.0909 0.0505)
OKLCHoklch(42.92% 0.104 150.9)
XYZxyz(4.9346, 8.5567, 4.1873)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F30 #5F1544
analogous
#1F5F15 #155F30 #155F55
triadic
#155F30 #30155F #5F3015
tetradic
#155F30 #151F5F #5F1544 #5F5515
square
#155F30 #151F5F #5F1544 #5F5515
split-complementary
#155F30 #55155F #5F151F
monochromatic
#06190D #0A2D17 #155F30 #209149 #2BC363

Accessibility & contrast

On white

7.75
#155F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#155F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F30
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F30#FFFFFF#000000##FFFFFF
##155F301.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#575033
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #155f30;
/* rgb */ color: rgb(21, 95, 48);
/* oklch */ color: oklch(42.9% 0.104 150.9);
Tailwind
colors: {
  custom: {
    50: '#5f8d69',
    500: '#155f30',
    950: '#000000',
  },
}
SCSS
$custom: #155f30;
$custom-light: #5f8d69;
$custom-dark: #000000;
JSON
{
  "hex": "#155f30",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 48
  },
  "hsl": {
    "h": 141.892,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.10405,
    "h": 150.9
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#155F30
secondary
#963A74
accent
#41AAE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155F30

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

Preview Lab → · Contrast checker → · Palette generator →

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