#154A28#154A28

#154A28 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.081 H 151.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#154A28
RGBrgb(21, 74, 40)
HSLhsl(142, 56%, 19%)
HSVhsv(142, 72%, 29%)
CMYKcmyk(71.6%, 0%, 45.9%, 71%)
CIE-LABlab(27.32, -26.29, 15.33)
CIE-LCHlch(27.32, 30.44, 149.75°)
OKLaboklab(36.45% -0.071 0.038)
OKLCHoklch(36.45% 0.081 151.8)
XYZxyz(3.1408, 5.2099, 2.8472)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A28 #4A1537
analogous
#1C4A15 #154A28 #154A42
triadic
#154A28 #28154A #4A2815
tetradic
#154A28 #151C4A #4A1537 #4A4215
square
#154A28 #151C4A #4A1537 #4A4215
split-complementary
#154A28 #42154A #4A151C
monochromatic
#07180D #071A0E #154A28 #237A42 #30A95C

Accessibility & contrast

On white

10.28
#154A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A28
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A28#FFFFFF#000000##FFFFFF
##154A281.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#433F2A
Tritanopia (blue-blind)
#014942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154a28;
/* rgb */ color: rgb(21, 74, 40);
/* oklch */ color: oklch(36.5% 0.081 151.8);
Tailwind
colors: {
  custom: {
    50: '#5a7d62',
    500: '#154a28',
    950: '#000000',
  },
}
SCSS
$custom: #154a28;
$custom-light: #5a7d62;
$custom-dark: #000000;
JSON
{
  "hex": "#154a28",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 40
  },
  "hsl": {
    "h": 141.509,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36451,
    "c": 0.08054,
    "h": 151.8
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#154A28
secondary
#823968
accent
#49A9DF
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #154A28

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

Preview Lab → · Contrast checker → · Palette generator →

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