#155126#155126

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

Color values

HEX#155126
RGBrgb(21, 81, 38)
HSLhsl(137, 59%, 20%)
HSVhsv(137, 74%, 32%)
CMYKcmyk(74.1%, 0%, 53.1%, 68.2%)
CIE-LABlab(29.87, -29.79, 19.80)
CIE-LCHlch(29.87, 35.76, 146.39°)
OKLaboklab(38.54% -0.0803 0.0482)
OKLCHoklch(38.54% 0.094 149)
XYZxyz(3.6013, 6.1838, 2.8372)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155126 #511540
analogous
#225115 #155126 #155144
triadic
#155126 #261551 #512615
tetradic
#155126 #152251 #511540 #514415
square
#155126 #152251 #511540 #514415
split-complementary
#155126 #441551 #511522
monochromatic
#06180B #08200F #155126 #22823D #2EB254

Accessibility & contrast

On white

9.39
#155126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#155126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155126
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155126#FFFFFF#000000##FFFFFF
##1551261.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155126;
/* rgb */ color: rgb(21, 81, 38);
/* oklch */ color: oklch(38.5% 0.094 149.0);
Tailwind
colors: {
  custom: {
    50: '#5c8261',
    500: '#155126',
    950: '#000000',
  },
}
SCSS
$custom: #155126;
$custom-light: #5c8261;
$custom-dark: #000000;
JSON
{
  "hex": "#155126",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 38
  },
  "hsl": {
    "h": 137,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38539,
    "c": 0.09362,
    "h": 149
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#155126
secondary
#893972
accent
#46B6E2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #155126

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

Preview Lab → · Contrast checker → · Palette generator →

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