#154D2F#154D2F

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

Color values

HEX#154D2F
RGBrgb(21, 77, 47)
HSLhsl(148, 57%, 19%)
HSVhsv(148, 73%, 30%)
CMYKcmyk(72.7%, 0%, 39%, 69.8%)
CIE-LABlab(28.57, -26.15, 12.65)
CIE-LCHlch(28.57, 29.05, 154.18°)
OKLaboklab(37.52% -0.0709 0.0318)
OKLCHoklch(37.52% 0.078 155.8)
XYZxyz(3.4759, 5.6720, 3.6004)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D2F #4D1533
analogous
#174D15 #154D2F #154D4B
triadic
#154D2F #2F154D #4D2F15
tetradic
#154D2F #15174D #4D1533 #4D4B15
square
#154D2F #15174D #4D1533 #4D4B15
split-complementary
#154D2F #4B154D #4D1517
monochromatic
#07180F #081D12 #154D2F #227D4C #2FAD6A

Accessibility & contrast

On white

9.84
#154D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154D2F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D2F#FFFFFF#000000##FFFFFF
##154D2F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154d2f;
/* rgb */ color: rgb(21, 77, 47);
/* oklch */ color: oklch(37.5% 0.078 155.8);
Tailwind
colors: {
  custom: {
    50: '#5a7f67',
    500: '#154d2f',
    950: '#000000',
  },
}
SCSS
$custom: #154d2f;
$custom-light: #5a7f67;
$custom-dark: #000000;
JSON
{
  "hex": "#154d2f",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 47
  },
  "hsl": {
    "h": 147.857,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.07766,
    "h": 155.8
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#154D2F
secondary
#853962
accent
#4799E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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