#154C2C#154C2C

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

Color values

HEX#154C2C
RGBrgb(21, 76, 44)
HSLhsl(145, 57%, 19%)
HSVhsv(145, 72%, 30%)
CMYKcmyk(72.4%, 0%, 42.1%, 70.2%)
CIE-LABlab(28.14, -26.36, 13.94)
CIE-LCHlch(28.14, 29.82, 152.13°)
OKLaboklab(37.15% -0.0713 0.0348)
OKLCHoklch(37.15% 0.079 154)
XYZxyz(3.3480, 5.5098, 3.2694)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C2C #4C1535
analogous
#1A4C15 #154C2C #154C48
triadic
#154C2C #2C154C #4C2C15
tetradic
#154C2C #151A4C #4C1535 #4C4815
square
#154C2C #151A4C #4C1535 #4C4815
split-complementary
#154C2C #48154C #4C151A
monochromatic
#07180E #081C10 #154C2C #227C48 #2FAC64

Accessibility & contrast

On white

9.99
#154C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154C2C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C2C#FFFFFF#000000##FFFFFF
##154C2C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452A
Deuteranopia (green-blind)
#45402E
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c2c;
/* rgb */ color: rgb(21, 76, 44);
/* oklch */ color: oklch(37.1% 0.079 154.0);
Tailwind
colors: {
  custom: {
    50: '#5a7e65',
    500: '#154c2c',
    950: '#000000',
  },
}
SCSS
$custom: #154c2c;
$custom-light: #5a7e65;
$custom-dark: #000000;
JSON
{
  "hex": "#154c2c",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 44
  },
  "hsl": {
    "h": 145.091,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37148,
    "c": 0.07933,
    "h": 154
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#154C2C
secondary
#843965
accent
#48A0E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #154C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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