#155311#155311

#155311 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.115 H 142.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#155311
RGBrgb(21, 83, 17)
HSLhsl(116, 66%, 20%)
HSVhsv(116, 80%, 33%)
CMYKcmyk(74.7%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.37, -33.45, 31.18)
CIE-LCHlch(30.37, 45.73, 137.02°)
OKLaboklab(38.87% -0.0911 0.0706)
OKLCHoklch(38.87% 0.115 142.2)
XYZxyz(3.5035, 6.3860, 1.5782)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155311 #4F1153
analogous
#365311 #155311 #11532E
triadic
#155311 #111553 #531115
tetradic
#155311 #113653 #4F1153 #532E11
square
#155311 #113653 #4F1153 #532E11
split-complementary
#155311 #2E1153 #531136
monochromatic
#061905 #082007 #155311 #22861B #2FB926

Accessibility & contrast

On white

9.22
#155311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#155311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155311
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155311#FFFFFF#000000##FFFFFF
##1553111.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#065046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155311;
/* rgb */ color: rgb(21, 83, 17);
/* oklch */ color: oklch(38.9% 0.115 142.2);
Tailwind
colors: {
  custom: {
    50: '#5d8454',
    500: '#155311',
    950: '#000000',
  },
}
SCSS
$custom: #155311;
$custom-light: #5d8454;
$custom-dark: #000000;
JSON
{
  "hex": "#155311",
  "rgb": {
    "r": 21,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 116.364,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3887,
    "c": 0.11522,
    "h": 142.2
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#155311
secondary
#87348C
accent
#3FE9DF
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #155311

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

Preview Lab → · Contrast checker → · Palette generator →

#155311 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva