#154D28#154D28

#154D28 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.085 H 151.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#154D28
RGBrgb(21, 77, 40)
HSLhsl(140, 57%, 19%)
HSVhsv(140, 73%, 30%)
CMYKcmyk(72.7%, 0%, 48.1%, 69.8%)
CIE-LABlab(28.43, -27.65, 16.77)
CIE-LCHlch(28.43, 32.34, 148.76°)
OKLaboklab(37.36% -0.0746 0.0414)
OKLCHoklch(37.36% 0.085 151)
XYZxyz(3.3459, 5.6200, 2.9155)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D28 #4D153A
analogous
#1E4D15 #154D28 #154D44
triadic
#154D28 #28154D #4D2815
tetradic
#154D28 #151E4D #4D153A #4D4415
square
#154D28 #151E4D #4D153A #4D4415
split-complementary
#154D28 #44154D #4D151E
monochromatic
#07180C #081D0F #154D28 #227D41 #2FAD5A

Accessibility & contrast

On white

9.89
#154D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#154D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D28
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D28#FFFFFF#000000##FFFFFF
##154D281.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4625
Deuteranopia (green-blind)
#46412B
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d28;
/* rgb */ color: rgb(21, 77, 40);
/* oklch */ color: oklch(37.4% 0.085 151.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f62',
    500: '#154d28',
    950: '#000000',
  },
}
SCSS
$custom: #154d28;
$custom-light: #5a7f62;
$custom-dark: #000000;
JSON
{
  "hex": "#154d28",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 40
  },
  "hsl": {
    "h": 140.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37364,
    "c": 0.08528,
    "h": 151
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#154D28
secondary
#85396B
accent
#47ACE0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154D28

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

Preview Lab → · Contrast checker → · Palette generator →

#154D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva