#154F2C#154F2C

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

Color values

HEX#154F2C
RGBrgb(21, 79, 44)
HSLhsl(144, 58%, 20%)
HSVhsv(144, 73%, 31%)
CMYKcmyk(73.4%, 0%, 44.3%, 69%)
CIE-LABlab(29.24, -27.73, 15.40)
CIE-LCHlch(29.24, 31.71, 150.95°)
OKLaboklab(38.06% -0.0749 0.0383)
OKLCHoklch(38.06% 0.084 152.9)
XYZxyz(3.5596, 5.9329, 3.3399)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F2C #4F1538
analogous
#1B4F15 #154F2C #154F49
triadic
#154F2C #2C154F #4F2C15
tetradic
#154F2C #151B4F #4F1538 #4F4915
square
#154F2C #151B4F #4F1538 #4F4915
split-complementary
#154F2C #49154F #4F151B
monochromatic
#06180D #081F11 #154F2C #227F47 #2FB062

Accessibility & contrast

On white

9.60
#154F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154F2C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F2C#FFFFFF#000000##FFFFFF
##154F2C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#48432E
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154f2c;
/* rgb */ color: rgb(21, 79, 44);
/* oklch */ color: oklch(38.1% 0.084 152.9);
Tailwind
colors: {
  custom: {
    50: '#5b8165',
    500: '#154f2c',
    950: '#000000',
  },
}
SCSS
$custom: #154f2c;
$custom-light: #5b8165;
$custom-dark: #000000;
JSON
{
  "hex": "#154f2c",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 143.793,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38055,
    "c": 0.08407,
    "h": 152.9
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#154F2C
secondary
#873968
accent
#47A4E1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #154F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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