#155F21#155F21

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

Color values

HEX#155F21
RGBrgb(21, 95, 33)
HSLhsl(130, 64%, 23%)
HSVhsv(130, 78%, 37%)
CMYKcmyk(77.9%, 0%, 65.3%, 62.7%)
CIE-LABlab(34.91, -36.23, 28.58)
CIE-LCHlch(34.91, 46.14, 141.74°)
OKLaboklab(42.69% -0.0978 0.0671)
OKLCHoklch(42.69% 0.119 145.5)
XYZxyz(4.6757, 8.4531, 2.8237)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F21 #5F1553
analogous
#2E5F15 #155F21 #155F46
triadic
#155F21 #21155F #5F2115
tetradic
#155F21 #152E5F #5F1553 #5F4615
square
#155F21 #152E5F #5F1553 #5F4615
split-complementary
#155F21 #46155F #5F152E
monochromatic
#061909 #0A2D10 #155F21 #209132 #2BC344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155F21#FFFFFF#000000##FFFFFF
##155F211.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)
#61561A
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f21;
/* rgb */ color: rgb(21, 95, 33);
/* oklch */ color: oklch(42.7% 0.119 145.5);
Tailwind
colors: {
  custom: {
    50: '#608d5f',
    500: '#155f21',
    950: '#000000',
  },
}
SCSS
$custom: #155f21;
$custom-light: #608d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#155f21",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 33
  },
  "hsl": {
    "h": 129.73,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.11859,
    "h": 145.5
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#155F21
secondary
#963A87
accent
#41CCE7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F21

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

Preview Lab → · Contrast checker → · Palette generator →

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