#154E28#154E28

#154E28 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.087 H 150.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#154E28
RGBrgb(21, 78, 40)
HSLhsl(140, 58%, 19%)
HSVhsv(140, 73%, 31%)
CMYKcmyk(73.1%, 0%, 48.7%, 69.4%)
CIE-LABlab(28.80, -28.10, 17.25)
CIE-LCHlch(28.80, 32.97, 148.45°)
OKLaboklab(37.67% -0.0758 0.0425)
OKLCHoklch(37.67% 0.087 150.7)
XYZxyz(3.4164, 5.7610, 2.9390)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E28 #4E153B
analogous
#1F4E15 #154E28 #154E45
triadic
#154E28 #28154E #4E2815
tetradic
#154E28 #151F4E #4E153B #4E4515
square
#154E28 #151F4E #4E153B #4E4515
split-complementary
#154E28 #45154E #4E151F
monochromatic
#06180C #081E0F #154E28 #227E41 #2FAE59

Accessibility & contrast

On white

9.76
#154E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E28
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E28#FFFFFF#000000##FFFFFF
##154E281.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4725
Deuteranopia (green-blind)
#47422B
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e28;
/* rgb */ color: rgb(21, 78, 40);
/* oklch */ color: oklch(37.7% 0.087 150.7);
Tailwind
colors: {
  custom: {
    50: '#5b8062',
    500: '#154e28',
    950: '#000000',
  },
}
SCSS
$custom: #154e28;
$custom-light: #5b8062;
$custom-dark: #000000;
JSON
{
  "hex": "#154e28",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 140,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.08685,
    "h": 150.7
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#154E28
secondary
#86396C
accent
#47AEE1
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154E28

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

Preview Lab → · Contrast checker → · Palette generator →

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