#154D23#154D23

#154D23 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.091 H 148.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#154D23
RGBrgb(21, 77, 35)
HSLhsl(135, 57%, 19%)
HSVhsv(135, 73%, 30%)
CMYKcmyk(72.7%, 0%, 54.5%, 69.8%)
CIE-LABlab(28.35, -28.60, 19.65)
CIE-LCHlch(28.35, 34.70, 145.51°)
OKLaboklab(37.27% -0.0771 0.0477)
OKLCHoklch(37.27% 0.091 148.3)
XYZxyz(3.2663, 5.5882, 2.4963)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D23 #4D153F
analogous
#234D15 #154D23 #154D3F
triadic
#154D23 #23154D #4D2315
tetradic
#154D23 #15234D #4D153F #4D3F15
square
#154D23 #15234D #4D153F #4D3F15
split-complementary
#154D23 #3F154D #4D1523
monochromatic
#07180B #081D0D #154D23 #227D39 #2FAD4F

Accessibility & contrast

On white

9.92
#154D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#154D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D23
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D23#FFFFFF#000000##FFFFFF
##154D231.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4620
Deuteranopia (green-blind)
#474126
Tritanopia (blue-blind)
#024B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d23;
/* rgb */ color: rgb(21, 77, 35);
/* oklch */ color: oklch(37.3% 0.091 148.3);
Tailwind
colors: {
  custom: {
    50: '#5b7f5f',
    500: '#154d23',
    950: '#000000',
  },
}
SCSS
$custom: #154d23;
$custom-light: #5b7f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#154d23",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 35
  },
  "hsl": {
    "h": 135,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.09068,
    "h": 148.3
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#154D23
secondary
#853972
accent
#47BAE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154D23

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

Preview Lab → · Contrast checker → · Palette generator →

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