#155122#155122

#155122 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.098 H 147.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#155122
RGBrgb(21, 81, 34)
HSLhsl(133, 59%, 20%)
HSVhsv(133, 74%, 32%)
CMYKcmyk(74.1%, 0%, 58%, 68.2%)
CIE-LABlab(29.81, -30.48, 22.02)
CIE-LCHlch(29.81, 37.60, 144.15°)
OKLaboklab(38.47% -0.0822 0.0529)
OKLCHoklch(38.47% 0.098 147.2)
XYZxyz(3.5402, 6.1594, 2.5154)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155122 #511544
analogous
#265115 #155122 #155140
triadic
#155122 #221551 #512215
tetradic
#155122 #152651 #511544 #514015
square
#155122 #152651 #511544 #514015
split-complementary
#155122 #401551 #511526
monochromatic
#06180A #08200E #155122 #228236 #2EB24B

Accessibility & contrast

On white

9.41
#155122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#155122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155122
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155122#FFFFFF#000000##FFFFFF
##1551221.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#4B4426
Tritanopia (blue-blind)
#014F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155122;
/* rgb */ color: rgb(21, 81, 34);
/* oklch */ color: oklch(38.5% 0.098 147.2);
Tailwind
colors: {
  custom: {
    50: '#5c825e',
    500: '#155122',
    950: '#000000',
  },
}
SCSS
$custom: #155122;
$custom-light: #5c825e;
$custom-dark: #000000;
JSON
{
  "hex": "#155122",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 133,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.09776,
    "h": 147.2
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#155122
secondary
#893978
accent
#46C0E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #155122

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

Preview Lab → · Contrast checker → · Palette generator →

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