#154E1F#154E1F

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

Color values

HEX#154E1F
RGBrgb(21, 78, 31)
HSLhsl(131, 58%, 19%)
HSVhsv(131, 73%, 31%)
CMYKcmyk(73.1%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.66, -29.70, 22.32)
CIE-LCHlch(28.66, 37.16, 143.07°)
OKLaboklab(37.51% -0.0802 0.0534)
OKLCHoklch(37.51% 0.096 146.4)
XYZxyz(3.2807, 5.7068, 2.2247)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E1F #4E1544
analogous
#284E15 #154E1F #154E3C
triadic
#154E1F #1F154E #4E1F15
tetradic
#154E1F #15284E #4E1544 #4E3C15
square
#154E1F #15284E #4E1544 #4E3C15
split-complementary
#154E1F #3C154E #4E1528
monochromatic
#06180A #081E0C #154E1F #227E32 #2FAE45

Accessibility & contrast

On white

9.81
#154E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#154E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E1F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E1F#FFFFFF#000000##FFFFFF
##154E1F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461B
Deuteranopia (green-blind)
#484223
Tritanopia (blue-blind)
#044C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e1f;
/* rgb */ color: rgb(21, 78, 31);
/* oklch */ color: oklch(37.5% 0.096 146.4);
Tailwind
colors: {
  custom: {
    50: '#5b805c',
    500: '#154e1f',
    950: '#000000',
  },
}
SCSS
$custom: #154e1f;
$custom-light: #5b805c;
$custom-dark: #000000;
JSON
{
  "hex": "#154e1f",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 130.526,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.09633,
    "h": 146.4
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#154E1F
secondary
#863978
accent
#47C6E1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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