#154A2E#154A2E

#154A2E is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.074 H 156.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#154A2E
RGBrgb(21, 74, 46)
HSLhsl(148, 56%, 19%)
HSVhsv(148, 72%, 29%)
CMYKcmyk(71.6%, 0%, 37.8%, 71%)
CIE-LABlab(27.45, -24.97, 11.76)
CIE-LCHlch(27.45, 27.60, 154.78°)
OKLaboklab(36.59% -0.0678 0.0296)
OKLCHoklch(36.59% 0.074 156.4)
XYZxyz(3.2509, 5.2539, 3.4270)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A2E #4A1531
analogous
#164A15 #154A2E #154A48
triadic
#154A2E #2E154A #4A2E15
tetradic
#154A2E #15164A #4A1531 #4A4815
square
#154A2E #15164A #4A1531 #4A4815
split-complementary
#154A2E #48154A #4A1516
monochromatic
#07180F #071A10 #154A2E #237A4C #30A969

Accessibility & contrast

On white

10.24
#154A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A2E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A2E#FFFFFF#000000##FFFFFF
##154A2E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442C
Deuteranopia (green-blind)
#433F30
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154a2e;
/* rgb */ color: rgb(21, 74, 46);
/* oklch */ color: oklch(36.6% 0.074 156.4);
Tailwind
colors: {
  custom: {
    50: '#5a7d67',
    500: '#154a2e',
    950: '#000000',
  },
}
SCSS
$custom: #154a2e;
$custom-light: #5a7d67;
$custom-dark: #000000;
JSON
{
  "hex": "#154a2e",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 46
  },
  "hsl": {
    "h": 148.302,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36591,
    "c": 0.07395,
    "h": 156.4
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#154A2E
secondary
#82395F
accent
#4998DF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #154A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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