#154D27#154D27

#154D27 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.086 H 150.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#154D27
RGBrgb(21, 77, 39)
HSLhsl(139, 57%, 19%)
HSVhsv(139, 73%, 30%)
CMYKcmyk(72.7%, 0%, 49.4%, 69.8%)
CIE-LABlab(28.42, -27.85, 17.35)
CIE-LCHlch(28.42, 32.82, 148.07°)
OKLaboklab(37.34% -0.0751 0.0427)
OKLCHoklch(37.34% 0.086 150.4)
XYZxyz(3.3291, 5.6133, 2.8271)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D27 #4D153B
analogous
#1F4D15 #154D27 #154D43
triadic
#154D27 #27154D #4D2715
tetradic
#154D27 #151F4D #4D153B #4D4315
square
#154D27 #151F4D #4D153B #4D4315
split-complementary
#154D27 #43154D #4D151F
monochromatic
#07180C #081D0F #154D27 #227D3F #2FAD58

Accessibility & contrast

On white

9.89
#154D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#154D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D27
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D27#FFFFFF#000000##FFFFFF
##154D271.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4624
Deuteranopia (green-blind)
#46412A
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d27;
/* rgb */ color: rgb(21, 77, 39);
/* oklch */ color: oklch(37.3% 0.086 150.4);
Tailwind
colors: {
  custom: {
    50: '#5b7f61',
    500: '#154d27',
    950: '#000000',
  },
}
SCSS
$custom: #154d27;
$custom-light: #5b7f61;
$custom-dark: #000000;
JSON
{
  "hex": "#154d27",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 39
  },
  "hsl": {
    "h": 139.286,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37343,
    "c": 0.08637,
    "h": 150.4
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#154D27
secondary
#85396C
accent
#47AFE0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154D27

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

Preview Lab → · Contrast checker → · Palette generator →

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