#155E1B#155E1B

#155E1B is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.3% C 0.122 H 144.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#155E1B
RGBrgb(21, 94, 27)
HSLhsl(125, 63%, 23%)
HSVhsv(125, 78%, 37%)
CMYKcmyk(77.7%, 0%, 71.3%, 63.1%)
CIE-LABlab(34.48, -36.60, 31.04)
CIE-LCHlch(34.48, 47.99, 139.70°)
OKLaboklab(42.31% -0.099 0.0717)
OKLCHoklch(42.31% 0.122 144.1)
XYZxyz(4.5095, 8.2435, 2.3902)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E1B #5E1558
analogous
#335E15 #155E1B #155E40
triadic
#155E1B #1B155E #5E1B15
tetradic
#155E1B #15335E #5E1558 #5E4015
square
#155E1B #15335E #5E1558 #5E4015
split-complementary
#155E1B #40155E #5E1533
monochromatic
#061907 #0A2C0D #155E1B #209029 #2BC238

Accessibility & contrast

On white

7.93
#155E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#155E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E1B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E1B#FFFFFF#000000##FFFFFF
##155E1B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605512
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e1b;
/* rgb */ color: rgb(21, 94, 27);
/* oklch */ color: oklch(42.3% 0.122 144.1);
Tailwind
colors: {
  custom: {
    50: '#608c5b',
    500: '#155e1b',
    950: '#000000',
  },
}
SCSS
$custom: #155e1b;
$custom-light: #608c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155e1b",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 124.932,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.12226,
    "h": 144.1
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#155E1B
secondary
#95398E
accent
#41D9E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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