#154A1B#154A1B

#154A1B is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.094 H 145.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#154A1B
RGBrgb(21, 74, 27)
HSLhsl(127, 56%, 19%)
HSVhsv(127, 72%, 29%)
CMYKcmyk(71.6%, 0%, 63.5%, 71%)
CIE-LABlab(27.12, -28.62, 22.72)
CIE-LCHlch(27.12, 36.54, 141.56°)
OKLaboklab(36.21% -0.0774 0.0539)
OKLCHoklch(36.21% 0.094 145.2)
XYZxyz(2.9557, 5.1358, 1.8722)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A1B #4A1544
analogous
#294A15 #154A1B #154A35
triadic
#154A1B #1B154A #4A1B15
tetradic
#154A1B #15294A #4A1544 #4A3515
square
#154A1B #15294A #4A1544 #4A3515
split-complementary
#154A1B #35154A #4A1529
monochromatic
#071809 #071A0A #154A1B #237A2C #30A93E

Accessibility & contrast

On white

10.36
#154A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A1B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A1B#FFFFFF#000000##FFFFFF
##154A1B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4316
Deuteranopia (green-blind)
#453E1F
Tritanopia (blue-blind)
#074840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a1b;
/* rgb */ color: rgb(21, 74, 27);
/* oklch */ color: oklch(36.2% 0.094 145.2);
Tailwind
colors: {
  custom: {
    50: '#5a7d59',
    500: '#154a1b',
    950: '#000000',
  },
}
SCSS
$custom: #154a1b;
$custom-light: #5a7d59;
$custom-dark: #000000;
JSON
{
  "hex": "#154a1b",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 27
  },
  "hsl": {
    "h": 126.792,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36214,
    "c": 0.09434,
    "h": 145.2
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#154A1B
secondary
#82397A
accent
#49CEDF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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