#154C1D#154C1D

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

Color values

HEX#154C1D
RGBrgb(21, 76, 29)
HSLhsl(129, 57%, 19%)
HSVhsv(129, 72%, 30%)
CMYKcmyk(72.4%, 0%, 61.8%, 70.2%)
CIE-LABlab(27.89, -29.17, 22.52)
CIE-LCHlch(27.89, 36.85, 142.33°)
OKLaboklab(36.86% -0.0788 0.0536)
OKLCHoklch(36.86% 0.095 145.8)
XYZxyz(3.1153, 5.4167, 2.0435)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C1D #4C1544
analogous
#294C15 #154C1D #154C39
triadic
#154C1D #1D154C #4C1D15
tetradic
#154C1D #15294C #4C1544 #4C3915
square
#154C1D #15294C #4C1544 #4C3915
split-complementary
#154C1D #39154C #4C1529
monochromatic
#071809 #081C0B #154C1D #227C2F #2FAC42

Accessibility & contrast

On white

10.08
#154C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#154C1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C1D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C1D#FFFFFF#000000##FFFFFF
##154C1D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4518
Deuteranopia (green-blind)
#474021
Tritanopia (blue-blind)
#064A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c1d;
/* rgb */ color: rgb(21, 76, 29);
/* oklch */ color: oklch(36.9% 0.095 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b7f5a',
    500: '#154c1d',
    950: '#000000',
  },
}
SCSS
$custom: #154c1d;
$custom-light: #5b7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#154c1d",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 29
  },
  "hsl": {
    "h": 128.727,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.09534,
    "h": 145.8
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#154C1D
secondary
#843979
accent
#48CAE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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