#154F2F#154F2F

#154F2F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.081 H 155.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#154F2F
RGBrgb(21, 79, 47)
HSLhsl(147, 58%, 20%)
HSVhsv(147, 73%, 31%)
CMYKcmyk(73.4%, 0%, 40.5%, 69%)
CIE-LABlab(29.30, -27.07, 13.63)
CIE-LCHlch(29.30, 30.31, 153.27°)
OKLaboklab(38.12% -0.0733 0.0342)
OKLCHoklch(38.12% 0.081 155)
XYZxyz(3.6180, 5.9562, 3.6478)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F2F #4F1535
analogous
#184F15 #154F2F #154F4C
triadic
#154F2F #2F154F #4F2F15
tetradic
#154F2F #15184F #4F1535 #4F4C15
square
#154F2F #15184F #4F1535 #4F4C15
split-complementary
#154F2F #4C154F #4F1518
monochromatic
#06180E #081F12 #154F2F #227F4C #2FB069

Accessibility & contrast

On white

9.58
#154F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154F2F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F2F#FFFFFF#000000##FFFFFF
##154F2F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154f2f;
/* rgb */ color: rgb(21, 79, 47);
/* oklch */ color: oklch(38.1% 0.081 155.0);
Tailwind
colors: {
  custom: {
    50: '#5b8167',
    500: '#154f2f',
    950: '#000000',
  },
}
SCSS
$custom: #154f2f;
$custom-light: #5b8167;
$custom-dark: #000000;
JSON
{
  "hex": "#154f2f",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 146.897,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.08083,
    "h": 155
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#154F2F
secondary
#873964
accent
#479CE1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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