#154C12#154C12

#154C12 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.105 H 142.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#154C12
RGBrgb(21, 76, 18)
HSLhsl(117, 62%, 18%)
HSVhsv(117, 76%, 30%)
CMYKcmyk(72.4%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.77, -30.60, 28.05)
CIE-LCHlch(27.77, 41.51, 137.49°)
OKLaboklab(36.72% -0.0833 0.0642)
OKLCHoklch(36.72% 0.105 142.4)
XYZxyz(3.0027, 5.3717, 1.4507)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C12 #49124C
analogous
#324C12 #154C12 #124C2C
triadic
#154C12 #12154C #4C1215
tetradic
#154C12 #12324C #49124C #4C2C12
square
#154C12 #12324C #49124C #4C2C12
split-complementary
#154C12 #2C124C #4C1232
monochromatic
#071906 #071B06 #154C12 #237D1E #30AF29

Accessibility & contrast

On white

10.12
#154C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#154C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C12
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C12#FFFFFF#000000##FFFFFF
##154C121.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4409
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#094A40
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154c12;
/* rgb */ color: rgb(21, 76, 18);
/* oklch */ color: oklch(36.7% 0.105 142.4);
Tailwind
colors: {
  custom: {
    50: '#5b7f53',
    500: '#154c12',
    950: '#000000',
  },
}
SCSS
$custom: #154c12;
$custom-light: #5b7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#154c12",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 116.897,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.10513,
    "h": 142.4
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#154C12
secondary
#813585
accent
#43E5DC
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #154C12

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

Preview Lab → · Contrast checker → · Palette generator →

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