#154B0C#154B0C

#154B0C is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.108 H 141.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#154B0C
RGBrgb(21, 75, 12)
HSLhsl(111, 72%, 17%)
HSVhsv(111, 84%, 29%)
CMYKcmyk(72%, 0%, 84%, 70.6%)
CIE-LABlab(27.35, -30.75, 30.20)
CIE-LCHlch(27.35, 43.10, 135.52°)
OKLaboklab(36.36% -0.084 0.0678)
OKLCHoklch(36.36% 0.108 141.1)
XYZxyz(2.8915, 5.2178, 1.2025)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B0C #420C4B
analogous
#354B0C #154B0C #0C4B23
triadic
#154B0C #0C154B #4B0C15
tetradic
#154B0C #0C354B #420C4B #4B230C
square
#154B0C #0C354B #420C4B #4B230C
split-complementary
#154B0C #230C4B #4B0C35
monochromatic
#071A04 #071A04 #154B0C #248014 #33B51D

Accessibility & contrast

On white

10.28
#154B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B0C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B0C#FFFFFF#000000##FFFFFF
##154B0C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4301
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#0B483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154b0c;
/* rgb */ color: rgb(21, 75, 12);
/* oklch */ color: oklch(36.4% 0.108 141.1);
Tailwind
colors: {
  custom: {
    50: '#5b7e50',
    500: '#154b0c',
    950: '#000000',
  },
}
SCSS
$custom: #154b0c;
$custom-light: #5b7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#154b0c",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 111.429,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36356,
    "c": 0.10797,
    "h": 141.1
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#154B0C
secondary
#7A2C87
accent
#39EFD5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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