#154B18#154B18

#154B18 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.099 H 144.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#154B18
RGBrgb(21, 75, 24)
HSLhsl(123, 56%, 19%)
HSVhsv(123, 72%, 29%)
CMYKcmyk(72%, 0%, 68%, 70.6%)
CIE-LABlab(27.46, -29.47, 24.73)
CIE-LCHlch(27.46, 38.47, 140.00°)
OKLaboklab(36.48% -0.0799 0.0579)
OKLCHoklch(36.48% 0.099 144)
XYZxyz(2.9900, 5.2572, 1.7211)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B18 #4B1548
analogous
#2D4B15 #154B18 #154B33
triadic
#154B18 #18154B #4B1815
tetradic
#154B18 #152D4B #4B1548 #4B3315
square
#154B18 #152D4B #4B1548 #4B3315
split-complementary
#154B18 #33154B #4B152D
monochromatic
#071808 #081B09 #154B18 #227B27 #30AB37

Accessibility & contrast

On white

10.24
#154B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154B18
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B18#FFFFFF#000000##FFFFFF
##154B181.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#084940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154b18;
/* rgb */ color: rgb(21, 75, 24);
/* oklch */ color: oklch(36.5% 0.099 144.0);
Tailwind
colors: {
  custom: {
    50: '#5b7e57',
    500: '#154b18',
    950: '#000000',
  },
}
SCSS
$custom: #154b18;
$custom-light: #5b7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#154b18",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 123.333,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.09865,
    "h": 144
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#154B18
secondary
#83397F
accent
#48D7E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154B18

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

Preview Lab → · Contrast checker → · Palette generator →

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