#154C23#154C23

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

Color values

HEX#154C23
RGBrgb(21, 76, 35)
HSLhsl(135, 57%, 19%)
HSVhsv(135, 72%, 30%)
CMYKcmyk(72.4%, 0%, 53.9%, 70.2%)
CIE-LABlab(27.98, -28.16, 19.18)
CIE-LCHlch(27.98, 34.08, 145.74°)
OKLaboklab(36.96% -0.076 0.0466)
OKLCHoklch(36.96% 0.089 148.5)
XYZxyz(3.1968, 5.4493, 2.4731)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C23 #4C153E
analogous
#234C15 #154C23 #154C3F
triadic
#154C23 #23154C #4C2315
tetradic
#154C23 #15234C #4C153E #4C3F15
square
#154C23 #15234C #4C153E #4C3F15
split-complementary
#154C23 #3F154C #4C1523
monochromatic
#07180B #081C0D #154C23 #227C39 #2FAC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154C23#FFFFFF#000000##FFFFFF
##154C231.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)
#4D4520
Deuteranopia (green-blind)
#464026
Tritanopia (blue-blind)
#034A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c23;
/* rgb */ color: rgb(21, 76, 35);
/* oklch */ color: oklch(37.0% 0.089 148.5);
Tailwind
colors: {
  custom: {
    50: '#5a7f5f',
    500: '#154c23',
    950: '#000000',
  },
}
SCSS
$custom: #154c23;
$custom-light: #5a7f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#154c23",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 35
  },
  "hsl": {
    "h": 135.273,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36962,
    "c": 0.08913,
    "h": 148.5
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#154C23
secondary
#843971
accent
#48B9E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154C23

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

Preview Lab → · Contrast checker → · Palette generator →

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