#154A2B#154A2B

#154A2B is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.077 H 154.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#154A2B
RGBrgb(21, 74, 43)
HSLhsl(145, 56%, 19%)
HSVhsv(145, 72%, 29%)
CMYKcmyk(71.6%, 0%, 41.9%, 71%)
CIE-LABlab(27.38, -25.65, 13.56)
CIE-LCHlch(27.38, 29.01, 152.14°)
OKLaboklab(36.52% -0.0694 0.0339)
OKLCHoklch(36.52% 0.077 154)
XYZxyz(3.1938, 5.2311, 3.1264)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A2B #4A1534
analogous
#194A15 #154A2B #154A45
triadic
#154A2B #2B154A #4A2B15
tetradic
#154A2B #15194A #4A1534 #4A4515
square
#154A2B #15194A #4A1534 #4A4515
split-complementary
#154A2B #45154A #4A1519
monochromatic
#07180E #071A0F #154A2B #237A47 #30A962

Accessibility & contrast

On white

10.26
#154A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#154A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A2B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A2B#FFFFFF#000000##FFFFFF
##154A2B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4429
Deuteranopia (green-blind)
#433F2D
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154a2b;
/* rgb */ color: rgb(21, 74, 43);
/* oklch */ color: oklch(36.5% 0.077 154.0);
Tailwind
colors: {
  custom: {
    50: '#5a7d64',
    500: '#154a2b',
    950: '#000000',
  },
}
SCSS
$custom: #154a2b;
$custom-light: #5a7d64;
$custom-dark: #000000;
JSON
{
  "hex": "#154a2b",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 43
  },
  "hsl": {
    "h": 144.906,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.07723,
    "h": 154
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#154A2B
secondary
#823964
accent
#49A1DF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #154A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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