#154D26#154D26

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

Color values

HEX#154D26
RGBrgb(21, 77, 38)
HSLhsl(138, 57%, 19%)
HSVhsv(138, 73%, 30%)
CMYKcmyk(72.7%, 0%, 50.6%, 69.8%)
CIE-LABlab(28.40, -28.05, 17.93)
CIE-LCHlch(28.40, 33.29, 147.41°)
OKLaboklab(37.32% -0.0756 0.0439)
OKLCHoklch(37.32% 0.087 149.8)
XYZxyz(3.3127, 5.6068, 2.7410)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D26 #4D153C
analogous
#204D15 #154D26 #154D42
triadic
#154D26 #26154D #4D2615
tetradic
#154D26 #15204D #4D153C #4D4215
square
#154D26 #15204D #4D153C #4D4215
split-complementary
#154D26 #42154D #4D1520
monochromatic
#07180C #081D0E #154D26 #227D3E #2FAD55

Accessibility & contrast

On white

9.90
#154D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154D26
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D26#FFFFFF#000000##FFFFFF
##154D261.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4623
Deuteranopia (green-blind)
#474129
Tritanopia (blue-blind)
#014C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d26;
/* rgb */ color: rgb(21, 77, 38);
/* oklch */ color: oklch(37.3% 0.087 149.8);
Tailwind
colors: {
  custom: {
    50: '#5b7f61',
    500: '#154d26',
    950: '#000000',
  },
}
SCSS
$custom: #154d26;
$custom-light: #5b7f61;
$custom-dark: #000000;
JSON
{
  "hex": "#154d26",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 38
  },
  "hsl": {
    "h": 138.214,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37324,
    "c": 0.08747,
    "h": 149.8
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#154D26
secondary
#85396E
accent
#47B2E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #154D26

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

Preview Lab → · Contrast checker → · Palette generator →

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