#154C2A#154C2A

#154C2A is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.082 H 152.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#154C2A
RGBrgb(21, 76, 42)
HSLhsl(143, 57%, 19%)
HSVhsv(143, 72%, 30%)
CMYKcmyk(72.4%, 0%, 44.7%, 70.2%)
CIE-LABlab(28.10, -26.79, 15.12)
CIE-LCHlch(28.10, 30.76, 150.56°)
OKLaboklab(37.1% -0.0723 0.0376)
OKLCHoklch(37.1% 0.082 152.6)
XYZxyz(3.3113, 5.4951, 3.0762)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C2A #4C1537
analogous
#1C4C15 #154C2A #154C46
triadic
#154C2A #2A154C #4C2A15
tetradic
#154C2A #151C4C #4C1537 #4C4615
square
#154C2A #151C4C #4C1537 #4C4615
split-complementary
#154C2A #46154C #4C151C
monochromatic
#07180D #081C10 #154C2A #227C44 #2FAC5F

Accessibility & contrast

On white

10.00
#154C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#154C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C2A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C2A#FFFFFF#000000##FFFFFF
##154C2A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#45402C
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c2a;
/* rgb */ color: rgb(21, 76, 42);
/* oklch */ color: oklch(37.1% 0.082 152.6);
Tailwind
colors: {
  custom: {
    50: '#5a7e64',
    500: '#154c2a',
    950: '#000000',
  },
}
SCSS
$custom: #154c2a;
$custom-light: #5a7e64;
$custom-dark: #000000;
JSON
{
  "hex": "#154c2a",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 142.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.08152,
    "h": 152.6
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#154C2A
secondary
#843967
accent
#48A6E0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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