#154A2F#154A2F

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

Color values

HEX#154A2F
RGBrgb(21, 74, 47)
HSLhsl(149, 56%, 19%)
HSVhsv(149, 72%, 29%)
CMYKcmyk(71.6%, 0%, 36.5%, 71%)
CIE-LABlab(27.47, -24.73, 11.16)
CIE-LCHlch(27.47, 27.13, 155.71°)
OKLaboklab(36.62% -0.0672 0.0282)
OKLCHoklch(36.62% 0.073 157.3)
XYZxyz(3.2708, 5.2619, 3.5320)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A2F #4A1530
analogous
#154A15 #154A2F #154A49
triadic
#154A2F #2F154A #4A2F15
tetradic
#154A2F #15154A #4A1530 #4A4915
square
#154A2F #15154A #4A1530 #4A4915
split-complementary
#154A2F #49154A #4A1515
monochromatic
#07180F #071A11 #154A2F #237A4D #30A96C

Accessibility & contrast

On white

10.23
#154A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A2F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A2F#FFFFFF#000000##FFFFFF
##154A2F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442D
Deuteranopia (green-blind)
#423F31
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154a2f;
/* rgb */ color: rgb(21, 74, 47);
/* oklch */ color: oklch(36.6% 0.073 157.3);
Tailwind
colors: {
  custom: {
    50: '#5a7d67',
    500: '#154a2f',
    950: '#000000',
  },
}
SCSS
$custom: #154a2f;
$custom-light: #5a7d67;
$custom-dark: #000000;
JSON
{
  "hex": "#154a2f",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 149.434,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36616,
    "c": 0.07288,
    "h": 157.3
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#154A2F
secondary
#82395E
accent
#4995DF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #154A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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