#154C21#154C21

#154C21 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.091 H 147.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#154C21
RGBrgb(21, 76, 33)
HSLhsl(133, 57%, 19%)
HSVhsv(133, 72%, 30%)
CMYKcmyk(72.4%, 0%, 56.6%, 70.2%)
CIE-LABlab(27.95, -28.52, 20.32)
CIE-LCHlch(27.95, 35.01, 144.53°)
OKLaboklab(36.93% -0.0769 0.0491)
OKLCHoklch(36.93% 0.091 147.5)
XYZxyz(3.1680, 5.4378, 2.3212)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C21 #4C1540
analogous
#254C15 #154C21 #154C3D
triadic
#154C21 #21154C #4C2115
tetradic
#154C21 #15254C #4C1540 #4C3D15
square
#154C21 #15254C #4C1540 #4C3D15
split-complementary
#154C21 #3D154C #4C1525
monochromatic
#07180A #081C0C #154C21 #227C36 #2FAC4B

Accessibility & contrast

On white

10.06
#154C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#154C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C21
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C21#FFFFFF#000000##FFFFFF
##154C211.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451D
Deuteranopia (green-blind)
#464024
Tritanopia (blue-blind)
#044A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c21;
/* rgb */ color: rgb(21, 76, 33);
/* oklch */ color: oklch(36.9% 0.091 147.5);
Tailwind
colors: {
  custom: {
    50: '#5a7f5d',
    500: '#154c21',
    950: '#000000',
  },
}
SCSS
$custom: #154c21;
$custom-light: #5a7f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#154c21",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 33
  },
  "hsl": {
    "h": 133.091,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.09125,
    "h": 147.5
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#154C21
secondary
#843974
accent
#48BFE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154C21

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

Preview Lab → · Contrast checker → · Palette generator →

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