#155118#155118

#155118 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.107 H 143.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#155118
RGBrgb(21, 81, 24)
HSLhsl(123, 59%, 20%)
HSVhsv(123, 74%, 32%)
CMYKcmyk(74.1%, 0%, 70.4%, 68.2%)
CIE-LABlab(29.69, -31.92, 27.23)
CIE-LCHlch(29.69, 41.96, 139.53°)
OKLaboklab(38.33% -0.0865 0.0633)
OKLCHoklch(38.33% 0.107 143.8)
XYZxyz(3.4163, 6.1099, 1.8633)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155118 #51154E
analogous
#305115 #155118 #155136
triadic
#155118 #181551 #511815
tetradic
#155118 #153051 #51154E #513615
square
#155118 #153051 #51154E #513615
split-complementary
#155118 #361551 #511530
monochromatic
#061807 #08200A #155118 #228226 #2EB235

Accessibility & contrast

On white

9.45
#155118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#155118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155118
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155118#FFFFFF#000000##FFFFFF
##1551181.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#054F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155118;
/* rgb */ color: rgb(21, 81, 24);
/* oklch */ color: oklch(38.3% 0.107 143.8);
Tailwind
colors: {
  custom: {
    50: '#5c8258',
    500: '#155118',
    950: '#000000',
  },
}
SCSS
$custom: #155118;
$custom-light: #5c8258;
$custom-dark: #000000;
JSON
{
  "hex": "#155118",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 123,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.10717,
    "h": 143.8
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#155118
secondary
#893985
accent
#46DAE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #155118

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

Preview Lab → · Contrast checker → · Palette generator →

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