#154F0D#154F0D

#154F0D is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.113 H 141.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#154F0D
RGBrgb(21, 79, 13)
HSLhsl(113, 72%, 18%)
HSVhsv(113, 84%, 31%)
CMYKcmyk(73.4%, 0%, 83.5%, 69%)
CIE-LABlab(28.85, -32.25, 31.28)
CIE-LCHlch(28.85, 44.93, 135.87°)
OKLaboklab(37.6% -0.088 0.0702)
OKLCHoklch(37.6% 0.113 141.4)
XYZxyz(3.1777, 5.7801, 1.3289)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F0D #470D4F
analogous
#364F0D #154F0D #0D4F26
triadic
#154F0D #0D154F #4F0D15
tetradic
#154F0D #0D364F #470D4F #4F260D
square
#154F0D #0D364F #470D4F #4F260D
split-complementary
#154F0D #260D4F #4F0D36
monochromatic
#071A04 #071A04 #154F0D #238416 #31B81E

Accessibility & contrast

On white

9.74
#154F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F0D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F0D#FFFFFF#000000##FFFFFF
##154F0D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#094C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154f0d;
/* rgb */ color: rgb(21, 79, 13);
/* oklch */ color: oklch(37.6% 0.113 141.4);
Tailwind
colors: {
  custom: {
    50: '#5c8151',
    500: '#154f0d',
    950: '#000000',
  },
}
SCSS
$custom: #154f0d;
$custom-light: #5c8151;
$custom-dark: #000000;
JSON
{
  "hex": "#154f0d",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 112.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37604,
    "c": 0.11259,
    "h": 141.4
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#154F0D
secondary
#7F2E8A
accent
#39EED9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #154F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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