#154C27#154C27

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

Color values

HEX#154C27
RGBrgb(21, 76, 39)
HSLhsl(140, 57%, 19%)
HSVhsv(140, 72%, 30%)
CMYKcmyk(72.4%, 0%, 48.7%, 70.2%)
CIE-LABlab(28.05, -27.40, 16.88)
CIE-LCHlch(28.05, 32.19, 148.37°)
OKLaboklab(37.04% -0.0739 0.0416)
OKLCHoklch(37.04% 0.085 150.7)
XYZxyz(3.2597, 5.4745, 2.8040)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C27 #4C153A
analogous
#1F4C15 #154C27 #154C43
triadic
#154C27 #27154C #4C2715
tetradic
#154C27 #151F4C #4C153A #4C4315
square
#154C27 #151F4C #4C153A #4C4315
split-complementary
#154C27 #43154C #4C151F
monochromatic
#07180C #081C0E #154C27 #227C40 #2FAC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154C27#FFFFFF#000000##FFFFFF
##154C271.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)
#4C4524
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#014B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c27;
/* rgb */ color: rgb(21, 76, 39);
/* oklch */ color: oklch(37.0% 0.085 150.7);
Tailwind
colors: {
  custom: {
    50: '#5a7f61',
    500: '#154c27',
    950: '#000000',
  },
}
SCSS
$custom: #154c27;
$custom-light: #5a7f61;
$custom-dark: #000000;
JSON
{
  "hex": "#154c27",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 39
  },
  "hsl": {
    "h": 139.636,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.08481,
    "h": 150.7
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#154C27
secondary
#84396B
accent
#48AEE0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154C27

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

Preview Lab → · Contrast checker → · Palette generator →

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