#154A1C#154A1C

#154A1C is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.093 H 145.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#154A1C
RGBrgb(21, 74, 28)
HSLhsl(128, 56%, 19%)
HSVhsv(128, 72%, 29%)
CMYKcmyk(71.6%, 0%, 62.2%, 71%)
CIE-LABlab(27.13, -28.47, 22.18)
CIE-LCHlch(27.13, 36.09, 142.08°)
OKLaboklab(36.23% -0.077 0.0528)
OKLCHoklch(36.23% 0.093 145.6)
XYZxyz(2.9674, 5.1405, 1.9342)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A1C #4A1543
analogous
#284A15 #154A1C #154A36
triadic
#154A1C #1C154A #4A1C15
tetradic
#154A1C #15284A #4A1543 #4A3615
square
#154A1C #15284A #4A1543 #4A3615
split-complementary
#154A1C #36154A #4A1528
monochromatic
#071809 #071A0A #154A1C #237A2E #30A940

Accessibility & contrast

On white

10.35
#154A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#154A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A1C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A1C#FFFFFF#000000##FFFFFF
##154A1C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4318
Deuteranopia (green-blind)
#453E20
Tritanopia (blue-blind)
#074840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a1c;
/* rgb */ color: rgb(21, 74, 28);
/* oklch */ color: oklch(36.2% 0.093 145.6);
Tailwind
colors: {
  custom: {
    50: '#5a7d59',
    500: '#154a1c',
    950: '#000000',
  },
}
SCSS
$custom: #154a1c;
$custom-light: #5a7d59;
$custom-dark: #000000;
JSON
{
  "hex": "#154a1c",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 28
  },
  "hsl": {
    "h": 127.925,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.09335,
    "h": 145.6
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#154A1C
secondary
#823978
accent
#49CBDF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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