#154F0E#154F0E

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

Color values

HEX#154F0E
RGBrgb(21, 79, 14)
HSLhsl(114, 70%, 18%)
HSVhsv(114, 82%, 31%)
CMYKcmyk(73.4%, 0%, 82.3%, 69%)
CIE-LABlab(28.86, -32.17, 30.89)
CIE-LCHlch(28.86, 44.60, 136.16°)
OKLaboklab(37.61% -0.0877 0.0695)
OKLCHoklch(37.61% 0.112 141.6)
XYZxyz(3.1843, 5.7828, 1.3638)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F0E #480E4F
analogous
#354F0E #154F0E #0E4F27
triadic
#154F0E #0E154F #4F0E15
tetradic
#154F0E #0E354F #480E4F #4F270E
square
#154F0E #0E354F #480E4F #4F270E
split-complementary
#154F0E #270E4F #4F0E35
monochromatic
#071A05 #071B05 #154F0E #238317 #31B720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154F0E#FFFFFF#000000##FFFFFF
##154F0E1.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)
#514703
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#094C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154f0e;
/* rgb */ color: rgb(21, 79, 14);
/* oklch */ color: oklch(37.6% 0.112 141.6);
Tailwind
colors: {
  custom: {
    50: '#5c8152',
    500: '#154f0e',
    950: '#000000',
  },
}
SCSS
$custom: #154f0e;
$custom-light: #5c8152;
$custom-dark: #000000;
JSON
{
  "hex": "#154f0e",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 113.538,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.11196,
    "h": 141.6
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#154F0E
secondary
#802F8A
accent
#3BEDDA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #154F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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