#154C1F#154C1F

#154C1F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.093 H 146.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#154C1F
RGBrgb(21, 76, 31)
HSLhsl(131, 57%, 19%)
HSVhsv(131, 72%, 30%)
CMYKcmyk(72.4%, 0%, 59.2%, 70.2%)
CIE-LABlab(27.92, -28.85, 21.43)
CIE-LCHlch(27.92, 35.94, 143.40°)
OKLaboklab(36.89% -0.0779 0.0514)
OKLCHoklch(36.89% 0.093 146.6)
XYZxyz(3.1408, 5.4269, 2.1780)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C1F #4C1542
analogous
#274C15 #154C1F #154C3B
triadic
#154C1F #1F154C #4C1F15
tetradic
#154C1F #15274C #4C1542 #4C3B15
square
#154C1F #15274C #4C1542 #4C3B15
split-complementary
#154C1F #3B154C #4C1527
monochromatic
#07180A #081C0B #154C1F #227C33 #2FAC46

Accessibility & contrast

On white

10.07
#154C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#154C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C1F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C1F#FFFFFF#000000##FFFFFF
##154C1F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#054A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c1f;
/* rgb */ color: rgb(21, 76, 31);
/* oklch */ color: oklch(36.9% 0.093 146.6);
Tailwind
colors: {
  custom: {
    50: '#5b7f5c',
    500: '#154c1f',
    950: '#000000',
  },
}
SCSS
$custom: #154c1f;
$custom-light: #5b7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#154c1f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 31
  },
  "hsl": {
    "h": 130.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36892,
    "c": 0.09332,
    "h": 146.6
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#154C1F
secondary
#843976
accent
#48C4E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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