#152D0C#152D0C

#152D0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.063 H 138.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#152D0C
RGBrgb(21, 45, 12)
HSLhsl(104, 58%, 11%)
HSVhsv(104, 73%, 18%)
CMYKcmyk(53.3%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.81, -17.12, 17.58)
CIE-LCHlch(15.81, 24.54, 134.24°)
OKLaboklab(26.85% -0.0472 0.0423)
OKLCHoklch(26.85% 0.063 138.1)
XYZxyz(1.3140, 2.0627, 0.6767)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D0C #240C2D
analogous
#252D0C #152D0C #0C2D13
triadic
#152D0C #0C152D #2D0C15
tetradic
#152D0C #0C252D #240C2D #2D130C
square
#152D0C #0C252D #240C2D #2D130C
split-complementary
#152D0C #130C2D #2D0C25
monochromatic
#0B1806 #0B1806 #152D0C #2C5D19 #428E26

Accessibility & contrast

On white

14.87
#152D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D0C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D0C#FFFFFF#000000##FFFFFF
##152D0C1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2908
Deuteranopia (green-blind)
#2B270F
Tritanopia (blue-blind)
#132B26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d0c;
/* rgb */ color: rgb(21, 45, 12);
/* oklch */ color: oklch(26.8% 0.063 138.1);
Tailwind
colors: {
  custom: {
    50: '#54664c',
    500: '#152d0c',
    950: '#000000',
  },
}
SCSS
$custom: #152d0c;
$custom-light: #54664c;
$custom-dark: #000000;
JSON
{
  "hex": "#152d0c",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 103.636,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26847,
    "c": 0.06334,
    "h": 138.1
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#152D0C
secondary
#582C69
accent
#47E1B7
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152D0C

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

Preview Lab → · Contrast checker → · Palette generator →

#152D0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva