#154E0E#154E0E

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

Color values

HEX#154E0E
RGBrgb(21, 78, 14)
HSLhsl(113, 70%, 18%)
HSVhsv(113, 82%, 31%)
CMYKcmyk(73.1%, 0%, 82.1%, 69.4%)
CIE-LABlab(28.48, -31.77, 30.52)
CIE-LCHlch(28.48, 44.06, 136.15°)
OKLaboklab(37.3% -0.0867 0.0688)
OKLCHoklch(37.3% 0.111 141.6)
XYZxyz(3.1127, 5.6396, 1.3399)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E0E #470E4E
analogous
#354E0E #154E0E #0E4E27
triadic
#154E0E #0E154E #4E0E15
tetradic
#154E0E #0E354E #470E4E #4E270E
square
#154E0E #0E354E #470E4E #4E270E
split-complementary
#154E0E #270E4E #4E0E35
monochromatic
#071A05 #071A05 #154E0E #238217 #31B621

Accessibility & contrast

On white

9.87
#154E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E0E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E0E#FFFFFF#000000##FFFFFF
##154E0E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504603
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#094B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e0e;
/* rgb */ color: rgb(21, 78, 14);
/* oklch */ color: oklch(37.3% 0.111 141.6);
Tailwind
colors: {
  custom: {
    50: '#5c8052',
    500: '#154e0e',
    950: '#000000',
  },
}
SCSS
$custom: #154e0e;
$custom-light: #5c8052;
$custom-dark: #000000;
JSON
{
  "hex": "#154e0e",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 113.438,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.11065,
    "h": 141.6
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#154E0E
secondary
#7F2F89
accent
#3BECD9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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