#154E27#154E27

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

Color values

HEX#154E27
RGBrgb(21, 78, 39)
HSLhsl(139, 58%, 19%)
HSVhsv(139, 73%, 31%)
CMYKcmyk(73.1%, 0%, 50%, 69.4%)
CIE-LABlab(28.78, -28.29, 17.83)
CIE-LCHlch(28.78, 33.44, 147.79°)
OKLaboklab(37.65% -0.0763 0.0437)
OKLCHoklch(37.65% 0.088 150.2)
XYZxyz(3.3996, 5.7543, 2.8506)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E27 #4E153C
analogous
#204E15 #154E27 #154E44
triadic
#154E27 #27154E #4E2715
tetradic
#154E27 #15204E #4E153C #4E4415
square
#154E27 #15204E #4E153C #4E4415
split-complementary
#154E27 #44154E #4E1520
monochromatic
#06180C #081E0F #154E27 #227E3F #2FAE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154E27#FFFFFF#000000##FFFFFF
##154E271.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)
#4E4724
Deuteranopia (green-blind)
#47422A
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e27;
/* rgb */ color: rgb(21, 78, 39);
/* oklch */ color: oklch(37.6% 0.088 150.2);
Tailwind
colors: {
  custom: {
    50: '#5b8062',
    500: '#154e27',
    950: '#000000',
  },
}
SCSS
$custom: #154e27;
$custom-light: #5b8062;
$custom-dark: #000000;
JSON
{
  "hex": "#154e27",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 138.947,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.08794,
    "h": 150.2
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#154E27
secondary
#86396E
accent
#47B0E1
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154E27

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

Preview Lab → · Contrast checker → · Palette generator →

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