#154F11#154F11

#154F11 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.110 H 142.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#154F11
RGBrgb(21, 79, 17)
HSLhsl(116, 65%, 19%)
HSVhsv(116, 78%, 31%)
CMYKcmyk(73.4%, 0%, 78.5%, 69%)
CIE-LABlab(28.88, -31.89, 29.66)
CIE-LCHlch(28.88, 43.55, 137.08°)
OKLaboklab(37.64% -0.0868 0.0674)
OKLCHoklch(37.64% 0.11 142.2)
XYZxyz(3.2062, 5.7915, 1.4791)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F11 #4B114F
analogous
#344F11 #154F11 #114F2C
triadic
#154F11 #11154F #4F1115
tetradic
#154F11 #11344F #4B114F #4F2C11
square
#154F11 #11344F #4B114F #4F2C11
split-complementary
#154F11 #2C114F #4F1134
monochromatic
#071905 #081D06 #154F11 #22811C #30B427

Accessibility & contrast

On white

9.73
#154F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F11
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F11#FFFFFF#000000##FFFFFF
##154F111.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#084C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154f11;
/* rgb */ color: rgb(21, 79, 17);
/* oklch */ color: oklch(37.6% 0.110 142.2);
Tailwind
colors: {
  custom: {
    50: '#5c8153',
    500: '#154f11',
    950: '#000000',
  },
}
SCSS
$custom: #154f11;
$custom-light: #5c8153;
$custom-dark: #000000;
JSON
{
  "hex": "#154f11",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 116.129,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.10994,
    "h": 142.2
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#154F11
secondary
#833388
accent
#40E8DD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #154F11

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

Preview Lab → · Contrast checker → · Palette generator →

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