#154E12#154E12

#154E12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.3% C 0.108 H 142.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#154E12
RGBrgb(21, 78, 18)
HSLhsl(117, 63%, 19%)
HSVhsv(117, 77%, 31%)
CMYKcmyk(73.1%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.52, -31.40, 28.83)
CIE-LCHlch(28.52, 42.63, 137.44°)
OKLaboklab(37.34% -0.0854 0.0658)
OKLCHoklch(37.34% 0.108 142.4)
XYZxyz(3.1427, 5.6516, 1.4974)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E12 #4B124E
analogous
#334E12 #154E12 #124E2D
triadic
#154E12 #12154E #4E1215
tetradic
#154E12 #12334E #4B124E #4E2D12
square
#154E12 #12334E #4B124E #4E2D12
split-complementary
#154E12 #2D124E #4E1233
monochromatic
#071906 #081C07 #154E12 #22801D #30B129

Accessibility & contrast

On white

9.86
#154E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E12
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E12#FFFFFF#000000##FFFFFF
##154E121.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#084B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e12;
/* rgb */ color: rgb(21, 78, 18);
/* oklch */ color: oklch(37.3% 0.108 142.4);
Tailwind
colors: {
  custom: {
    50: '#5c8054',
    500: '#154e12',
    950: '#000000',
  },
}
SCSS
$custom: #154e12;
$custom-light: #5c8054;
$custom-dark: #000000;
JSON
{
  "hex": "#154e12",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 117,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.10787,
    "h": 142.4
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#154E12
secondary
#833587
accent
#42E6DD
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #154E12

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

Preview Lab → · Contrast checker → · Palette generator →

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