#154D2E#154D2E

#154D2E is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.079 H 155.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#154D2E
RGBrgb(21, 77, 46)
HSLhsl(147, 57%, 19%)
HSVhsv(147, 73%, 30%)
CMYKcmyk(72.7%, 0%, 40.3%, 69.8%)
CIE-LABlab(28.55, -26.37, 13.24)
CIE-LCHlch(28.55, 29.51, 153.34°)
OKLaboklab(37.5% -0.0714 0.0332)
OKLCHoklch(37.5% 0.079 155.1)
XYZxyz(3.4560, 5.6641, 3.4954)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D2E #4D1534
analogous
#184D15 #154D2E #154D4A
triadic
#154D2E #2E154D #4D2E15
tetradic
#154D2E #15184D #4D1534 #4D4A15
square
#154D2E #15184D #4D1534 #4D4A15
split-complementary
#154D2E #4A154D #4D1518
monochromatic
#07180E #081D11 #154D2E #227D4B #2FAD67

Accessibility & contrast

On white

9.85
#154D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D2E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D2E#FFFFFF#000000##FFFFFF
##154D2E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462C
Deuteranopia (green-blind)
#464130
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d2e;
/* rgb */ color: rgb(21, 77, 46);
/* oklch */ color: oklch(37.5% 0.079 155.1);
Tailwind
colors: {
  custom: {
    50: '#5a7f67',
    500: '#154d2e',
    950: '#000000',
  },
}
SCSS
$custom: #154d2e;
$custom-light: #5a7f67;
$custom-dark: #000000;
JSON
{
  "hex": "#154d2e",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 146.786,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.07874,
    "h": 155.1
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#154D2E
secondary
#853963
accent
#479CE0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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