#154C2F#154C2F

#154C2F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.2% C 0.076 H 156.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#154C2F
RGBrgb(21, 76, 47)
HSLhsl(148, 57%, 19%)
HSVhsv(148, 72%, 30%)
CMYKcmyk(72.4%, 0%, 38.2%, 70.2%)
CIE-LABlab(28.20, -25.68, 12.16)
CIE-LCHlch(28.20, 28.41, 154.67°)
OKLaboklab(37.22% -0.0696 0.0306)
OKLCHoklch(37.22% 0.076 156.3)
XYZxyz(3.4065, 5.5332, 3.5773)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C2F #4C1532
analogous
#174C15 #154C2F #154C4B
triadic
#154C2F #2F154C #4C2F15
tetradic
#154C2F #15174C #4C1532 #4C4B15
square
#154C2F #15174C #4C1532 #4C4B15
split-complementary
#154C2F #4B154C #4C1517
monochromatic
#07180F #081C11 #154C2F #227C4D #2FAC6A

Accessibility & contrast

On white

9.97
#154C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C2F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C2F#FFFFFF#000000##FFFFFF
##154C2F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#444031
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154c2f;
/* rgb */ color: rgb(21, 76, 47);
/* oklch */ color: oklch(37.2% 0.076 156.3);
Tailwind
colors: {
  custom: {
    50: '#5a7e67',
    500: '#154c2f',
    950: '#000000',
  },
}
SCSS
$custom: #154c2f;
$custom-light: #5a7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#154c2f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 148.364,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.07607,
    "h": 156.3
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#154C2F
secondary
#843960
accent
#4898E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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