#154A1E#154A1E

#154A1E is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.091 H 146.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#154A1E
RGBrgb(21, 74, 30)
HSLhsl(130, 56%, 19%)
HSVhsv(130, 72%, 29%)
CMYKcmyk(71.6%, 0%, 59.5%, 71%)
CIE-LABlab(27.16, -28.15, 21.08)
CIE-LCHlch(27.16, 35.17, 143.17°)
OKLaboklab(36.26% -0.0761 0.0505)
OKLCHoklch(36.26% 0.091 146.4)
XYZxyz(2.9922, 5.1504, 2.0645)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A1E #4A1541
analogous
#264A15 #154A1E #154A38
triadic
#154A1E #1E154A #4A1E15
tetradic
#154A1E #15264A #4A1541 #4A3815
square
#154A1E #15264A #4A1541 #4A3815
split-complementary
#154A1E #38154A #4A1526
monochromatic
#07180A #071A0B #154A1E #237A31 #30A945

Accessibility & contrast

On white

10.34
#154A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#154A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A1E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A1E#FFFFFF#000000##FFFFFF
##154A1E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#453E21
Tritanopia (blue-blind)
#064840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a1e;
/* rgb */ color: rgb(21, 74, 30);
/* oklch */ color: oklch(36.3% 0.091 146.4);
Tailwind
colors: {
  custom: {
    50: '#5a7d5b',
    500: '#154a1e',
    950: '#000000',
  },
}
SCSS
$custom: #154a1e;
$custom-light: #5a7d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#154a1e",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 30
  },
  "hsl": {
    "h": 130.189,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36261,
    "c": 0.09131,
    "h": 146.4
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#154A1E
secondary
#823975
accent
#49C6DF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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