#154C28#154C28

#154C28 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.084 H 151.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#154C28
RGBrgb(21, 76, 40)
HSLhsl(141, 57%, 19%)
HSVhsv(141, 72%, 30%)
CMYKcmyk(72.4%, 0%, 47.4%, 70.2%)
CIE-LABlab(28.06, -27.20, 16.30)
CIE-LCHlch(28.06, 31.71, 149.08°)
OKLaboklab(37.06% -0.0734 0.0402)
OKLCHoklch(37.06% 0.084 151.3)
XYZxyz(3.2764, 5.4812, 2.8924)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C28 #4C1539
analogous
#1E4C15 #154C28 #154C44
triadic
#154C28 #28154C #4C2815
tetradic
#154C28 #151E4C #4C1539 #4C4415
square
#154C28 #151E4C #4C1539 #4C4415
split-complementary
#154C28 #44154C #4C151E
monochromatic
#07180D #081C0F #154C28 #227C41 #2FAC5A

Accessibility & contrast

On white

10.02
#154C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#154C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C28
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C28#FFFFFF#000000##FFFFFF
##154C281.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4525
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c28;
/* rgb */ color: rgb(21, 76, 40);
/* oklch */ color: oklch(37.1% 0.084 151.3);
Tailwind
colors: {
  custom: {
    50: '#5a7f62',
    500: '#154c28',
    950: '#000000',
  },
}
SCSS
$custom: #154c28;
$custom-light: #5a7f62;
$custom-dark: #000000;
JSON
{
  "hex": "#154c28",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 40
  },
  "hsl": {
    "h": 140.727,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.08372,
    "h": 151.3
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#154C28
secondary
#84396A
accent
#48ABE0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154C28

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

Preview Lab → · Contrast checker → · Palette generator →

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