#155125#155125

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

Color values

HEX#155125
RGBrgb(21, 81, 37)
HSLhsl(136, 59%, 20%)
HSVhsv(136, 74%, 32%)
CMYKcmyk(74.1%, 0%, 54.3%, 68.2%)
CIE-LABlab(29.86, -29.97, 20.36)
CIE-LCHlch(29.86, 36.23, 145.81°)
OKLaboklab(38.52% -0.0808 0.0494)
OKLCHoklch(38.52% 0.095 148.6)
XYZxyz(3.5853, 6.1775, 2.7533)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155125 #511541
analogous
#235115 #155125 #155143
triadic
#155125 #251551 #512515
tetradic
#155125 #152351 #511541 #514315
square
#155125 #152351 #511541 #514315
split-complementary
#155125 #431551 #511523
monochromatic
#06180B #08200F #155125 #22823B #2EB251

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155125#FFFFFF#000000##FFFFFF
##1551251.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)
#524921
Deuteranopia (green-blind)
#4A4428
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155125;
/* rgb */ color: rgb(21, 81, 37);
/* oklch */ color: oklch(38.5% 0.095 148.6);
Tailwind
colors: {
  custom: {
    50: '#5c8260',
    500: '#155125',
    950: '#000000',
  },
}
SCSS
$custom: #155125;
$custom-light: #5c8260;
$custom-dark: #000000;
JSON
{
  "hex": "#155125",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 37
  },
  "hsl": {
    "h": 136,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.09467,
    "h": 148.6
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#155125
secondary
#893974
accent
#46B8E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #155125

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

Preview Lab → · Contrast checker → · Palette generator →

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