#155018#155018

#155018 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.106 H 143.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#155018
RGBrgb(21, 80, 24)
HSLhsl(123, 58%, 20%)
HSVhsv(123, 74%, 31%)
CMYKcmyk(73.7%, 0%, 70%, 68.6%)
CIE-LABlab(29.32, -31.52, 26.82)
CIE-LCHlch(29.32, 41.39, 139.60°)
OKLaboklab(38.02% -0.0854 0.0624)
OKLCHoklch(38.02% 0.106 143.9)
XYZxyz(3.3426, 5.9623, 1.8387)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155018 #50154D
analogous
#305015 #155018 #155036
triadic
#155018 #181550 #501815
tetradic
#155018 #153050 #50154D #503615
square
#155018 #153050 #50154D #503615
split-complementary
#155018 #361550 #501530
monochromatic
#061807 #082009 #155018 #228027 #2EB135

Accessibility & contrast

On white

9.58
#155018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#155018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155018
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155018#FFFFFF#000000##FFFFFF
##1550181.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#4B431D
Tritanopia (blue-blind)
#054E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #155018;
/* rgb */ color: rgb(21, 80, 24);
/* oklch */ color: oklch(38.0% 0.106 143.9);
Tailwind
colors: {
  custom: {
    50: '#5c8257',
    500: '#155018',
    950: '#000000',
  },
}
SCSS
$custom: #155018;
$custom-light: #5c8257;
$custom-dark: #000000;
JSON
{
  "hex": "#155018",
  "rgb": {
    "r": 21,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 123.051,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38021,
    "c": 0.10577,
    "h": 143.9
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#155018
secondary
#883984
accent
#46DAE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #155018

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

Preview Lab → · Contrast checker → · Palette generator →

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