#155127#155127

#155127 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.093 H 149.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#155127
RGBrgb(21, 81, 39)
HSLhsl(138, 59%, 20%)
HSVhsv(138, 74%, 32%)
CMYKcmyk(74.1%, 0%, 51.9%, 68.2%)
CIE-LABlab(29.89, -29.60, 19.23)
CIE-LCHlch(29.89, 35.30, 146.99°)
OKLaboklab(38.56% -0.0798 0.0469)
OKLCHoklch(38.56% 0.093 149.5)
XYZxyz(3.6176, 6.1904, 2.9233)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155127 #51153F
analogous
#215115 #155127 #155145
triadic
#155127 #271551 #512715
tetradic
#155127 #152151 #51153F #514515
square
#155127 #152151 #51153F #514515
split-complementary
#155127 #451551 #511521
monochromatic
#06180C #082010 #155127 #22823E #2EB256

Accessibility & contrast

On white

9.38
#155127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155127
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155127#FFFFFF#000000##FFFFFF
##1551271.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#4A442A
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155127;
/* rgb */ color: rgb(21, 81, 39);
/* oklch */ color: oklch(38.6% 0.093 149.5);
Tailwind
colors: {
  custom: {
    50: '#5c8262',
    500: '#155127',
    950: '#000000',
  },
}
SCSS
$custom: #155127;
$custom-light: #5c8262;
$custom-dark: #000000;
JSON
{
  "hex": "#155127",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 138,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38558,
    "c": 0.09256,
    "h": 149.5
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#155127
secondary
#893971
accent
#46B3E2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #155127

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

Preview Lab → · Contrast checker → · Palette generator →

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