#154B1B#154B1B

#154B1B is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.096 H 145.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#154B1B
RGBrgb(21, 75, 27)
HSLhsl(127, 56%, 19%)
HSVhsv(127, 72%, 29%)
CMYKcmyk(72%, 0%, 64%, 70.6%)
CIE-LABlab(27.49, -29.05, 23.16)
CIE-LCHlch(27.49, 37.15, 141.44°)
OKLaboklab(36.52% -0.0786 0.0548)
OKLCHoklch(36.52% 0.096 145.1)
XYZxyz(3.0230, 5.2704, 1.8947)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B1B #4B1545
analogous
#2A4B15 #154B1B #154B36
triadic
#154B1B #1B154B #4B1B15
tetradic
#154B1B #152A4B #4B1545 #4B3615
square
#154B1B #152A4B #4B1545 #4B3615
split-complementary
#154B1B #36154B #4B152A
monochromatic
#071809 #081B0A #154B1B #227B2C #30AB3D

Accessibility & contrast

On white

10.22
#154B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#154B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B1B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B1B#FFFFFF#000000##FFFFFF
##154B1B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4416
Deuteranopia (green-blind)
#463F1F
Tritanopia (blue-blind)
#074940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154b1b;
/* rgb */ color: rgb(21, 75, 27);
/* oklch */ color: oklch(36.5% 0.096 145.1);
Tailwind
colors: {
  custom: {
    50: '#5b7e59',
    500: '#154b1b',
    950: '#000000',
  },
}
SCSS
$custom: #154b1b;
$custom-light: #5b7e59;
$custom-dark: #000000;
JSON
{
  "hex": "#154b1b",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 27
  },
  "hsl": {
    "h": 126.667,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36522,
    "c": 0.09582,
    "h": 145.1
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#154B1B
secondary
#83397B
accent
#48CFE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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