#154C18#154C18

#154C18 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.100 H 144.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#154C18
RGBrgb(21, 76, 24)
HSLhsl(123, 57%, 19%)
HSVhsv(123, 72%, 30%)
CMYKcmyk(72.4%, 0%, 68.4%, 70.2%)
CIE-LABlab(27.83, -29.88, 25.15)
CIE-LCHlch(27.83, 39.06, 139.91°)
OKLaboklab(36.79% -0.081 0.0588)
OKLCHoklch(36.79% 0.1 144)
XYZxyz(3.0584, 5.3939, 1.7439)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C18 #4C1549
analogous
#2E4C15 #154C18 #154C34
triadic
#154C18 #18154C #4C1815
tetradic
#154C18 #152E4C #4C1549 #4C3415
square
#154C18 #152E4C #4C1549 #4C3415
split-complementary
#154C18 #34154C #4C152E
monochromatic
#071808 #081C09 #154C18 #227C27 #2FAC36

Accessibility & contrast

On white

10.10
#154C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154C18
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C18#FFFFFF#000000##FFFFFF
##154C181.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4412
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#074A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c18;
/* rgb */ color: rgb(21, 76, 24);
/* oklch */ color: oklch(36.8% 0.100 144.0);
Tailwind
colors: {
  custom: {
    50: '#5b7f57',
    500: '#154c18',
    950: '#000000',
  },
}
SCSS
$custom: #154c18;
$custom-light: #5b7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#154c18",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 123.273,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.1001,
    "h": 144
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#154C18
secondary
#843980
accent
#48D8E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154C18

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

Preview Lab → · Contrast checker → · Palette generator →

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