#155124#155124

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

Color values

HEX#155124
RGBrgb(21, 81, 36)
HSLhsl(135, 59%, 20%)
HSVhsv(135, 74%, 32%)
CMYKcmyk(74.1%, 0%, 55.6%, 68.2%)
CIE-LABlab(29.84, -30.14, 20.92)
CIE-LCHlch(29.84, 36.69, 145.24°)
OKLaboklab(38.5% -0.0812 0.0506)
OKLCHoklch(38.5% 0.096 148.1)
XYZxyz(3.5699, 6.1713, 2.6718)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155124 #511542
analogous
#245115 #155124 #155142
triadic
#155124 #241551 #512415
tetradic
#155124 #152451 #511542 #514215
square
#155124 #152451 #511542 #514215
split-complementary
#155124 #421551 #511524
monochromatic
#06180B #08200E #155124 #22823A #2EB24F

Accessibility & contrast

On white

9.40
#155124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155124
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155124#FFFFFF#000000##FFFFFF
##1551241.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524920
Deuteranopia (green-blind)
#4B4427
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155124;
/* rgb */ color: rgb(21, 81, 36);
/* oklch */ color: oklch(38.5% 0.096 148.1);
Tailwind
colors: {
  custom: {
    50: '#5c8260',
    500: '#155124',
    950: '#000000',
  },
}
SCSS
$custom: #155124;
$custom-light: #5c8260;
$custom-dark: #000000;
JSON
{
  "hex": "#155124",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 135,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38504,
    "c": 0.09571,
    "h": 148.1
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#155124
secondary
#893975
accent
#46BBE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #155124

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

Preview Lab → · Contrast checker → · Palette generator →

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