#154F2E#154F2E

#154F2E is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.082 H 154.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#154F2E
RGBrgb(21, 79, 46)
HSLhsl(146, 58%, 20%)
HSVhsv(146, 73%, 31%)
CMYKcmyk(73.4%, 0%, 41.8%, 69%)
CIE-LABlab(29.28, -27.29, 14.22)
CIE-LCHlch(29.28, 30.78, 152.48°)
OKLaboklab(38.1% -0.0738 0.0355)
OKLCHoklch(38.1% 0.082 154.3)
XYZxyz(3.5981, 5.9483, 3.5427)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F2E #4F1536
analogous
#194F15 #154F2E #154F4B
triadic
#154F2E #2E154F #4F2E15
tetradic
#154F2E #15194F #4F1536 #4F4B15
square
#154F2E #15194F #4F1536 #4F4B15
split-complementary
#154F2E #4B154F #4F1519
monochromatic
#06180E #081F12 #154F2E #227F4A #2FB066

Accessibility & contrast

On white

9.59
#154F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#154F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F2E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F2E#FFFFFF#000000##FFFFFF
##154F2E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#474330
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154f2e;
/* rgb */ color: rgb(21, 79, 46);
/* oklch */ color: oklch(38.1% 0.082 154.3);
Tailwind
colors: {
  custom: {
    50: '#5b8167',
    500: '#154f2e',
    950: '#000000',
  },
}
SCSS
$custom: #154f2e;
$custom-light: #5b8167;
$custom-dark: #000000;
JSON
{
  "hex": "#154f2e",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 145.862,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.381,
    "c": 0.0819,
    "h": 154.3
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#154F2E
secondary
#873965
accent
#479FE1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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