#154D2C#154D2C

#154D2C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.5% C 0.081 H 153.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#154D2C
RGBrgb(21, 77, 44)
HSLhsl(145, 57%, 19%)
HSVhsv(145, 73%, 30%)
CMYKcmyk(72.7%, 0%, 42.9%, 69.8%)
CIE-LABlab(28.51, -26.82, 14.43)
CIE-LCHlch(28.51, 30.45, 151.72°)
OKLaboklab(37.45% -0.0725 0.036)
OKLCHoklch(37.45% 0.081 153.6)
XYZxyz(3.4175, 5.6487, 3.2926)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D2C #4D1536
analogous
#1A4D15 #154D2C #154D48
triadic
#154D2C #2C154D #4D2C15
tetradic
#154D2C #151A4D #4D1536 #4D4815
square
#154D2C #151A4D #4D1536 #4D4815
split-complementary
#154D2C #48154D #4D151A
monochromatic
#07180E #081D11 #154D2C #227D47 #2FAD63

Accessibility & contrast

On white

9.86
#154D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154D2C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D2C#FFFFFF#000000##FFFFFF
##154D2C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#46412E
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d2c;
/* rgb */ color: rgb(21, 77, 44);
/* oklch */ color: oklch(37.5% 0.081 153.6);
Tailwind
colors: {
  custom: {
    50: '#5a7f65',
    500: '#154d2c',
    950: '#000000',
  },
}
SCSS
$custom: #154d2c;
$custom-light: #5a7f65;
$custom-dark: #000000;
JSON
{
  "hex": "#154d2c",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 44
  },
  "hsl": {
    "h": 144.643,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37451,
    "c": 0.08092,
    "h": 153.6
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#154D2C
secondary
#853966
accent
#47A2E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #154D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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