#155229#155229

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

Color values

HEX#155229
RGBrgb(21, 82, 41)
HSLhsl(140, 59%, 20%)
HSVhsv(140, 74%, 32%)
CMYKcmyk(74.4%, 0%, 50%, 67.8%)
CIE-LABlab(30.29, -29.66, 18.56)
CIE-LCHlch(30.29, 34.98, 147.96°)
OKLaboklab(38.9% -0.0799 0.0455)
OKLCHoklch(38.9% 0.092 150.3)
XYZxyz(3.7265, 6.3537, 3.1274)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155229 #52153E
analogous
#205215 #155229 #155247
triadic
#155229 #291552 #522915
tetradic
#155229 #152052 #52153E #524715
square
#155229 #152052 #52153E #524715
split-complementary
#155229 #471552 #521520
monochromatic
#06180C #092111 #155229 #218341 #2EB35A

Accessibility & contrast

On white

9.25
#155229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#155229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155229
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155229#FFFFFF#000000##FFFFFF
##1552291.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155229;
/* rgb */ color: rgb(21, 82, 41);
/* oklch */ color: oklch(38.9% 0.092 150.3);
Tailwind
colors: {
  custom: {
    50: '#5c8363',
    500: '#155229',
    950: '#000000',
  },
}
SCSS
$custom: #155229;
$custom-light: #5c8363;
$custom-dark: #000000;
JSON
{
  "hex": "#155229",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 139.672,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.09196,
    "h": 150.3
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#155229
secondary
#8A396F
accent
#45AFE2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #155229

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

Preview Lab → · Contrast checker → · Palette generator →

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