#154C2E#154C2E

#154C2E is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.2% C 0.077 H 155.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#154C2E
RGBrgb(21, 76, 46)
HSLhsl(147, 57%, 19%)
HSVhsv(147, 72%, 30%)
CMYKcmyk(72.4%, 0%, 39.5%, 70.2%)
CIE-LABlab(28.18, -25.91, 12.75)
CIE-LCHlch(28.18, 28.88, 153.79°)
OKLaboklab(37.2% -0.0702 0.032)
OKLCHoklch(37.2% 0.077 155.5)
XYZxyz(3.3865, 5.5252, 3.4722)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C2E #4C1533
analogous
#184C15 #154C2E #154C4A
triadic
#154C2E #2E154C #4C2E15
tetradic
#154C2E #15184C #4C1533 #4C4A15
square
#154C2E #15184C #4C1533 #4C4A15
split-complementary
#154C2E #4A154C #4C1518
monochromatic
#07180F #081C11 #154C2E #227C4B #2FAC68

Accessibility & contrast

On white

9.98
#154C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C2E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C2E#FFFFFF#000000##FFFFFF
##154C2E1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462C
Deuteranopia (green-blind)
#454030
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c2e;
/* rgb */ color: rgb(21, 76, 46);
/* oklch */ color: oklch(37.2% 0.077 155.5);
Tailwind
colors: {
  custom: {
    50: '#5a7e67',
    500: '#154c2e',
    950: '#000000',
  },
}
SCSS
$custom: #154c2e;
$custom-light: #5a7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#154c2e",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 46
  },
  "hsl": {
    "h": 147.273,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.07716,
    "h": 155.5
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#154C2E
secondary
#843962
accent
#489BE0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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