#154A12#154A12

#154A12 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.102 H 142.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#154A12
RGBrgb(21, 74, 18)
HSLhsl(117, 61%, 18%)
HSVhsv(117, 76%, 29%)
CMYKcmyk(71.6%, 0%, 75.7%, 71%)
CIE-LABlab(27.02, -29.78, 27.25)
CIE-LCHlch(27.02, 40.37, 137.54°)
OKLaboklab(36.1% -0.0811 0.0625)
OKLCHoklch(36.1% 0.102 142.4)
XYZxyz(2.8671, 5.1004, 1.4055)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A12 #47124A
analogous
#314A12 #154A12 #124A2B
triadic
#154A12 #12154A #4A1215
tetradic
#154A12 #12314A #47124A #4A2B12
square
#154A12 #12314A #47124A #4A2B12
split-complementary
#154A12 #2B124A #4A1231
monochromatic
#071906 #071906 #154A12 #237B1E #31AC2A

Accessibility & contrast

On white

10.40
#154A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A12
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A12#FFFFFF#000000##FFFFFF
##154A121.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#0A483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a12;
/* rgb */ color: rgb(21, 74, 18);
/* oklch */ color: oklch(36.1% 0.102 142.4);
Tailwind
colors: {
  custom: {
    50: '#5b7d53',
    500: '#154a12',
    950: '#000000',
  },
}
SCSS
$custom: #154a12;
$custom-light: #5b7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#154a12",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 116.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.361,
    "c": 0.10237,
    "h": 142.4
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#154A12
secondary
#7F3583
accent
#44E4DB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154A12

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

Preview Lab → · Contrast checker → · Palette generator →

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