#154B1F#154B1F

#154B1F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.092 H 146.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#154B1F
RGBrgb(21, 75, 31)
HSLhsl(131, 56%, 19%)
HSVhsv(131, 72%, 29%)
CMYKcmyk(72%, 0%, 58.7%, 70.6%)
CIE-LABlab(27.55, -28.42, 20.98)
CIE-LCHlch(27.55, 35.33, 143.57°)
OKLaboklab(36.59% -0.0767 0.0504)
OKLCHoklch(36.59% 0.092 146.7)
XYZxyz(3.0724, 5.2902, 2.1552)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B1F #4B1541
analogous
#264B15 #154B1F #154B3A
triadic
#154B1F #1F154B #4B1F15
tetradic
#154B1F #15264B #4B1541 #4B3A15
square
#154B1F #15264B #4B1541 #4B3A15
split-complementary
#154B1F #3A154B #4B1526
monochromatic
#07180A #081B0B #154B1F #227B33 #30AB47

Accessibility & contrast

On white

10.20
#154B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#154B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B1F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B1F#FFFFFF#000000##FFFFFF
##154B1F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441B
Deuteranopia (green-blind)
#453F22
Tritanopia (blue-blind)
#054941
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154b1f;
/* rgb */ color: rgb(21, 75, 31);
/* oklch */ color: oklch(36.6% 0.092 146.7);
Tailwind
colors: {
  custom: {
    50: '#5a7e5c',
    500: '#154b1f',
    950: '#000000',
  },
}
SCSS
$custom: #154b1f;
$custom-light: #5a7e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#154b1f",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 131.111,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.09181,
    "h": 146.7
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#154B1F
secondary
#833975
accent
#48C4E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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