#154E0C#154E0C

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

Color values

HEX#154E0C
RGBrgb(21, 78, 12)
HSLhsl(112, 73%, 18%)
HSVhsv(112, 85%, 31%)
CMYKcmyk(73.1%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.47, -31.94, 31.29)
CIE-LCHlch(28.47, 44.71, 135.58°)
OKLaboklab(37.29% -0.0872 0.0701)
OKLCHoklch(37.29% 0.112 141.2)
XYZxyz(3.0998, 5.6344, 1.2719)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E0C #450C4E
analogous
#364E0C #154E0C #0C4E24
triadic
#154E0C #0C154E #4E0C15
tetradic
#154E0C #0C364E #450C4E #4E240C
square
#154E0C #0C364E #450C4E #4E240C
split-complementary
#154E0C #240C4E #4E0C36
monochromatic
#071B04 #071B04 #154E0C #238314 #32B81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154E0C#FFFFFF#000000##FFFFFF
##154E0C1.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)
#504601
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#0A4B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e0c;
/* rgb */ color: rgb(21, 78, 12);
/* oklch */ color: oklch(37.3% 0.112 141.2);
Tailwind
colors: {
  custom: {
    50: '#5c8051',
    500: '#154e0c',
    950: '#000000',
  },
}
SCSS
$custom: #154e0c;
$custom-light: #5c8051;
$custom-dark: #000000;
JSON
{
  "hex": "#154e0c",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 111.818,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.11189,
    "h": 141.2
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#154E0C
secondary
#7D2C8A
accent
#38F0D7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #154E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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