#154A0C#154A0C

#154A0C is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.107 H 141.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#154A0C
RGBrgb(21, 74, 12)
HSLhsl(111, 72%, 17%)
HSVhsv(111, 84%, 29%)
CMYKcmyk(71.6%, 0%, 83.8%, 71%)
CIE-LABlab(26.97, -30.35, 29.83)
CIE-LCHlch(26.97, 42.55, 135.50°)
OKLaboklab(36.04% -0.083 0.067)
OKLCHoklch(36.04% 0.107 141.1)
XYZxyz(2.8243, 5.0833, 1.1801)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A0C #410C4A
analogous
#344A0C #154A0C #0C4A22
triadic
#154A0C #0C154A #4A0C15
tetradic
#154A0C #0C344A #410C4A #4A220C
square
#154A0C #0C344A #410C4A #4A220C
split-complementary
#154A0C #220C4A #4A0C34
monochromatic
#071A04 #071A04 #154A0C #247F15 #33B31D

Accessibility & contrast

On white

10.41
#154A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#154A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A0C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A0C#FFFFFF#000000##FFFFFF
##154A0C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4202
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#0B473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a0c;
/* rgb */ color: rgb(21, 74, 12);
/* oklch */ color: oklch(36.0% 0.107 141.1);
Tailwind
colors: {
  custom: {
    50: '#5b7d50',
    500: '#154a0c',
    950: '#000000',
  },
}
SCSS
$custom: #154a0c;
$custom-light: #5b7d50;
$custom-dark: #000000;
JSON
{
  "hex": "#154a0c",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 111.29,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.10664,
    "h": 141.1
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#154A0C
secondary
#792C86
accent
#39EFD4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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