#154E23#154E23

#154E23 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.092 H 148.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#154E23
RGBrgb(21, 78, 35)
HSLhsl(135, 58%, 19%)
HSVhsv(135, 73%, 31%)
CMYKcmyk(73.1%, 0%, 55.1%, 69.4%)
CIE-LABlab(28.72, -29.03, 20.11)
CIE-LCHlch(28.72, 35.32, 145.30°)
OKLaboklab(37.57% -0.0783 0.0487)
OKLCHoklch(37.57% 0.092 148.1)
XYZxyz(3.3368, 5.7292, 2.5198)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E23 #4E1540
analogous
#244E15 #154E23 #154E40
triadic
#154E23 #23154E #4E2315
tetradic
#154E23 #15244E #4E1540 #4E4015
square
#154E23 #15244E #4E1540 #4E4015
split-complementary
#154E23 #40154E #4E1524
monochromatic
#06180B #081E0D #154E23 #227E39 #2FAE4E

Accessibility & contrast

On white

9.79
#154E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E23
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E23#FFFFFF#000000##FFFFFF
##154E231.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471F
Deuteranopia (green-blind)
#484226
Tritanopia (blue-blind)
#024C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e23;
/* rgb */ color: rgb(21, 78, 35);
/* oklch */ color: oklch(37.6% 0.092 148.1);
Tailwind
colors: {
  custom: {
    50: '#5b805f',
    500: '#154e23',
    950: '#000000',
  },
}
SCSS
$custom: #154e23;
$custom-light: #5b805f;
$custom-dark: #000000;
JSON
{
  "hex": "#154e23",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 35
  },
  "hsl": {
    "h": 134.737,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.09221,
    "h": 148.1
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#154E23
secondary
#863973
accent
#47BBE1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154E23

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

Preview Lab → · Contrast checker → · Palette generator →

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