#154E26#154E26

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

Color values

HEX#154E26
RGBrgb(21, 78, 38)
HSLhsl(138, 58%, 19%)
HSVhsv(138, 73%, 31%)
CMYKcmyk(73.1%, 0%, 51.3%, 69.4%)
CIE-LABlab(28.77, -28.49, 18.40)
CIE-LCHlch(28.77, 33.91, 147.14°)
OKLaboklab(37.63% -0.0768 0.045)
OKLCHoklch(37.63% 0.089 149.6)
XYZxyz(3.3832, 5.7478, 2.7645)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E26 #4E153D
analogous
#214E15 #154E26 #154E43
triadic
#154E26 #26154E #4E2615
tetradic
#154E26 #15214E #4E153D #4E4315
square
#154E26 #15214E #4E153D #4E4315
split-complementary
#154E26 #43154E #4E1521
monochromatic
#06180C #081E0F #154E26 #227E3D #2FAE55

Accessibility & contrast

On white

9.77
#154E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154E26
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E26#FFFFFF#000000##FFFFFF
##154E261.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4723
Deuteranopia (green-blind)
#484229
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e26;
/* rgb */ color: rgb(21, 78, 38);
/* oklch */ color: oklch(37.6% 0.089 149.6);
Tailwind
colors: {
  custom: {
    50: '#5b8061',
    500: '#154e26',
    950: '#000000',
  },
}
SCSS
$custom: #154e26;
$custom-light: #5b8061;
$custom-dark: #000000;
JSON
{
  "hex": "#154e26",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 38
  },
  "hsl": {
    "h": 137.895,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37628,
    "c": 0.08902,
    "h": 149.6
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#154E26
secondary
#86396F
accent
#47B3E1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #154E26

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

Preview Lab → · Contrast checker → · Palette generator →

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