#154A2A#154A2A

#154A2A is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.078 H 153.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#154A2A
RGBrgb(21, 74, 42)
HSLhsl(144, 56%, 19%)
HSVhsv(144, 72%, 29%)
CMYKcmyk(71.6%, 0%, 43.2%, 71%)
CIE-LABlab(27.36, -25.87, 14.15)
CIE-LCHlch(27.36, 29.49, 151.32°)
OKLaboklab(36.5% -0.0699 0.0353)
OKLCHoklch(36.5% 0.078 153.2)
XYZxyz(3.1757, 5.2238, 3.0310)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A2A #4A1535
analogous
#1A4A15 #154A2A #154A44
triadic
#154A2A #2A154A #4A2A15
tetradic
#154A2A #151A4A #4A1535 #4A4415
square
#154A2A #151A4A #4A1535 #4A4415
split-complementary
#154A2A #44154A #4A151A
monochromatic
#07180E #071A0F #154A2A #237A45 #30A960

Accessibility & contrast

On white

10.27
#154A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A2A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A2A#FFFFFF#000000##FFFFFF
##154A2A1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4428
Deuteranopia (green-blind)
#433F2C
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154a2a;
/* rgb */ color: rgb(21, 74, 42);
/* oklch */ color: oklch(36.5% 0.078 153.2);
Tailwind
colors: {
  custom: {
    50: '#5a7d64',
    500: '#154a2a',
    950: '#000000',
  },
}
SCSS
$custom: #154a2a;
$custom-light: #5a7d64;
$custom-dark: #000000;
JSON
{
  "hex": "#154a2a",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 42
  },
  "hsl": {
    "h": 143.774,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.07833,
    "h": 153.2
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#154A2A
secondary
#823965
accent
#49A4DF
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #154A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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