#155F23#155F23

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

Color values

HEX#155F23
RGBrgb(21, 95, 35)
HSLhsl(131, 64%, 23%)
HSVhsv(131, 78%, 37%)
CMYKcmyk(77.9%, 0%, 63.2%, 62.7%)
CIE-LABlab(34.93, -35.96, 27.57)
CIE-LCHlch(34.93, 45.31, 142.52°)
OKLaboklab(42.71% -0.0969 0.0651)
OKLCHoklch(42.71% 0.117 146.1)
XYZxyz(4.7045, 8.4647, 2.9757)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F23 #5F1551
analogous
#2C5F15 #155F23 #155F48
triadic
#155F23 #23155F #5F2315
tetradic
#155F23 #152C5F #5F1551 #5F4815
square
#155F23 #152C5F #5F1551 #5F4815
split-complementary
#155F23 #48155F #5F152C
monochromatic
#061909 #0A2D11 #155F23 #209135 #2BC348

Accessibility & contrast

On white

7.80
#155F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#155F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F23
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F23#FFFFFF#000000##FFFFFF
##155F231.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f23;
/* rgb */ color: rgb(21, 95, 35);
/* oklch */ color: oklch(42.7% 0.117 146.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d60',
    500: '#155f23',
    950: '#000000',
  },
}
SCSS
$custom: #155f23;
$custom-light: #5f8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#155f23",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 131.351,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42712,
    "c": 0.11679,
    "h": 146.1
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#155F23
secondary
#963A85
accent
#41C7E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #155F23

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

Preview Lab → · Contrast checker → · Palette generator →

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