#154C1B#154C1B

#154C1B is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.097 H 145.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#154C1B
RGBrgb(21, 76, 27)
HSLhsl(127, 57%, 19%)
HSVhsv(127, 72%, 30%)
CMYKcmyk(72.4%, 0%, 64.5%, 70.2%)
CIE-LABlab(27.86, -29.47, 23.59)
CIE-LCHlch(27.86, 37.75, 141.32°)
OKLaboklab(36.83% -0.0797 0.0558)
OKLCHoklch(36.83% 0.097 145)
XYZxyz(3.0913, 5.4071, 1.9175)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C1B #4C1546
analogous
#2B4C15 #154C1B #154C37
triadic
#154C1B #1B154C #4C1B15
tetradic
#154C1B #152B4C #4C1546 #4C3715
square
#154C1B #152B4C #4C1546 #4C3715
split-complementary
#154C1B #37154C #4C152B
monochromatic
#071809 #081C0A #154C1B #227C2C #2FAC3D

Accessibility & contrast

On white

10.09
#154C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#154C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C1B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C1B#FFFFFF#000000##FFFFFF
##154C1B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4516
Deuteranopia (green-blind)
#47401F
Tritanopia (blue-blind)
#064A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c1b;
/* rgb */ color: rgb(21, 76, 27);
/* oklch */ color: oklch(36.8% 0.097 145.0);
Tailwind
colors: {
  custom: {
    50: '#5b7f59',
    500: '#154c1b',
    950: '#000000',
  },
}
SCSS
$custom: #154c1b;
$custom-light: #5b7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#154c1b",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 27
  },
  "hsl": {
    "h": 126.545,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.0973,
    "h": 145
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#154C1B
secondary
#84397C
accent
#48CFE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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