#154012#154012

#154012 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.088 H 142.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#154012
RGBrgb(21, 64, 18)
HSLhsl(116, 56%, 16%)
HSVhsv(116, 72%, 25%)
CMYKcmyk(67.2%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.24, -25.52, 23.14)
CIE-LCHlch(23.24, 34.44, 137.80°)
OKLaboklab(32.97% -0.0695 0.0538)
OKLCHoklch(32.97% 0.088 142.3)
XYZxyz(2.2517, 3.8697, 1.2004)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154012 #3D1240
analogous
#2C4012 #154012 #124026
triadic
#154012 #121540 #401215
tetradic
#154012 #122C40 #3D1240 #402612
square
#154012 #122C40 #3D1240 #402612
split-complementary
#154012 #261240 #40122C
monochromatic
#081807 #081807 #154012 #25701F #34A02D

Accessibility & contrast

On white

11.84
#154012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#154012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154012
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154012#FFFFFF#000000##FFFFFF
##1540121.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#0E3E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #154012;
/* rgb */ color: rgb(21, 64, 18);
/* oklch */ color: oklch(33.0% 0.088 142.3);
Tailwind
colors: {
  custom: {
    50: '#587552',
    500: '#154012',
    950: '#000000',
  },
}
SCSS
$custom: #154012;
$custom-light: #587552;
$custom-dark: #000000;
JSON
{
  "hex": "#154012",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 116.087,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32973,
    "c": 0.08791,
    "h": 142.3
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#154012
secondary
#753579
accent
#48DFD6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #154012

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

Preview Lab → · Contrast checker → · Palette generator →

#154012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva