#154D12#154D12

#154D12 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.106 H 142.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#154D12
RGBrgb(21, 77, 18)
HSLhsl(117, 62%, 19%)
HSVhsv(117, 77%, 30%)
CMYKcmyk(72.7%, 0%, 76.6%, 69.8%)
CIE-LABlab(28.14, -31.00, 28.44)
CIE-LCHlch(28.14, 42.07, 137.46°)
OKLaboklab(37.03% -0.0843 0.065)
OKLCHoklch(37.03% 0.107 142.4)
XYZxyz(3.0721, 5.5105, 1.4739)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D12 #4A124D
analogous
#324D12 #154D12 #124D2C
triadic
#154D12 #12154D #4D1215
tetradic
#154D12 #12324D #4A124D #4D2C12
square
#154D12 #12324D #4A124D #4D2C12
split-complementary
#154D12 #2C124D #4D1232
monochromatic
#071906 #071B06 #154D12 #237F1E #30B029

Accessibility & contrast

On white

9.99
#154D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#154D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D12
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D12#FFFFFF#000000##FFFFFF
##154D121.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#094A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154d12;
/* rgb */ color: rgb(21, 77, 18);
/* oklch */ color: oklch(37.0% 0.106 142.4);
Tailwind
colors: {
  custom: {
    50: '#5c7f54',
    500: '#154d12',
    950: '#000000',
  },
}
SCSS
$custom: #154d12;
$custom-light: #5c7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#154d12",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 116.949,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3703,
    "c": 0.1065,
    "h": 142.4
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#154D12
secondary
#823586
accent
#43E5DD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #154D12

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

Preview Lab → · Contrast checker → · Palette generator →

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