#154C22#154C22

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

Color values

HEX#154C22
RGBrgb(21, 76, 34)
HSLhsl(134, 57%, 19%)
HSVhsv(134, 72%, 30%)
CMYKcmyk(72.4%, 0%, 55.3%, 70.2%)
CIE-LABlab(27.96, -28.34, 19.75)
CIE-LCHlch(27.96, 34.55, 145.13°)
OKLaboklab(36.94% -0.0765 0.0478)
OKLCHoklch(36.94% 0.09 148)
XYZxyz(3.1822, 5.4435, 2.3961)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C22 #4C153F
analogous
#244C15 #154C22 #154C3E
triadic
#154C22 #22154C #4C2215
tetradic
#154C22 #15244C #4C153F #4C3E15
square
#154C22 #15244C #4C153F #4C3E15
split-complementary
#154C22 #3E154C #4C1524
monochromatic
#07180B #081C0D #154C22 #227C37 #2FAC4D

Accessibility & contrast

On white

10.05
#154C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#154C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C22
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C22#FFFFFF#000000##FFFFFF
##154C221.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451E
Deuteranopia (green-blind)
#464025
Tritanopia (blue-blind)
#034A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c22;
/* rgb */ color: rgb(21, 76, 34);
/* oklch */ color: oklch(36.9% 0.090 148.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f5e',
    500: '#154c22',
    950: '#000000',
  },
}
SCSS
$custom: #154c22;
$custom-light: #5a7f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#154c22",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 134.182,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.0902,
    "h": 148
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#154C22
secondary
#843972
accent
#48BCE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154C22

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

Preview Lab → · Contrast checker → · Palette generator →

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