#154512#154512

#154512 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.095 H 142.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#154512
RGBrgb(21, 69, 18)
HSLhsl(116, 59%, 17%)
HSVhsv(116, 74%, 27%)
CMYKcmyk(69.6%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.13, -27.69, 25.23)
CIE-LCHlch(25.13, 37.46, 137.67°)
OKLaboklab(34.54% -0.0754 0.0583)
OKLCHoklch(34.54% 0.095 142.3)
XYZxyz(2.5464, 4.4591, 1.2986)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154512 #421245
analogous
#2F4512 #154512 #124529
triadic
#154512 #121545 #451215
tetradic
#154512 #122F45 #421245 #452912
square
#154512 #122F45 #421245 #452912
split-complementary
#154512 #291245 #45122F
monochromatic
#071806 #071806 #154512 #24761F #33A62B

Accessibility & contrast

On white

11.10
#154512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#154512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154512
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154512#FFFFFF#000000##FFFFFF
##1545121.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#0C433A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #154512;
/* rgb */ color: rgb(21, 69, 18);
/* oklch */ color: oklch(34.5% 0.095 142.3);
Tailwind
colors: {
  custom: {
    50: '#5a7952',
    500: '#154512',
    950: '#000000',
  },
}
SCSS
$custom: #154512;
$custom-light: #5a7952;
$custom-dark: #000000;
JSON
{
  "hex": "#154512",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 116.471,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34541,
    "c": 0.09528,
    "h": 142.3
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#154512
secondary
#7A357E
accent
#46E2D9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #154512

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

Preview Lab → · Contrast checker → · Palette generator →

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