#154C20#154C20

#154C20 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.092 H 147.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#154C20
RGBrgb(21, 76, 32)
HSLhsl(132, 57%, 19%)
HSVhsv(132, 72%, 30%)
CMYKcmyk(72.4%, 0%, 57.9%, 70.2%)
CIE-LABlab(27.93, -28.69, 20.87)
CIE-LCHlch(27.93, 35.48, 143.96°)
OKLaboklab(36.91% -0.0774 0.0502)
OKLCHoklch(36.91% 0.092 147)
XYZxyz(3.1542, 5.4323, 2.2485)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C20 #4C1541
analogous
#264C15 #154C20 #154C3C
triadic
#154C20 #20154C #4C2015
tetradic
#154C20 #15264C #4C1541 #4C3C15
square
#154C20 #15264C #4C1541 #4C3C15
split-complementary
#154C20 #3C154C #4C1526
monochromatic
#07180A #081C0C #154C20 #227C34 #2FAC48

Accessibility & contrast

On white

10.06
#154C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#154C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C20
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C20#FFFFFF#000000##FFFFFF
##154C201.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#464023
Tritanopia (blue-blind)
#044A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c20;
/* rgb */ color: rgb(21, 76, 32);
/* oklch */ color: oklch(36.9% 0.092 147.0);
Tailwind
colors: {
  custom: {
    50: '#5b7f5c',
    500: '#154c20',
    950: '#000000',
  },
}
SCSS
$custom: #154c20;
$custom-light: #5b7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#154c20",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 32
  },
  "hsl": {
    "h": 132,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36909,
    "c": 0.0923,
    "h": 147
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#154C20
secondary
#843975
accent
#48C2E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154C20

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

Preview Lab → · Contrast checker → · Palette generator →

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