#152B0C#152B0C

#152B0C is a dark, muted green. Relative luminance 0.019; OKLCH L 26.2% C 0.060 H 137.6°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#152B0C
RGBrgb(21, 43, 12)
HSLhsl(103, 56%, 11%)
HSVhsv(103, 72%, 17%)
CMYKcmyk(51.2%, 0%, 72.1%, 83.1%)
CIE-LABlab(15.03, -16.05, 16.59)
CIE-LCHlch(15.03, 23.08, 134.06°)
OKLaboklab(26.2% -0.0442 0.0404)
OKLCHoklch(26.2% 0.06 137.6)
XYZxyz(1.2395, 1.9137, 0.6518)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B0C #220C2B
analogous
#242B0C #152B0C #0C2B12
triadic
#152B0C #0C152B #2B0C15
tetradic
#152B0C #0C242B #220C2B #2B120C
square
#152B0C #0C242B #220C2B #2B120C
split-complementary
#152B0C #120C2B #2B0C24
monochromatic
#0C1807 #0C1807 #152B0C #2C5B19 #448B27

Accessibility & contrast

On white

15.19
#152B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#152B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B0C
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B0C#FFFFFF#000000##FFFFFF
##152B0C1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#2A250E
Tritanopia (blue-blind)
#142924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b0c;
/* rgb */ color: rgb(21, 43, 12);
/* oklch */ color: oklch(26.2% 0.060 137.6);
Tailwind
colors: {
  custom: {
    50: '#54644c',
    500: '#152b0c',
    950: '#000000',
  },
}
SCSS
$custom: #152b0c;
$custom-light: #54644c;
$custom-dark: #000000;
JSON
{
  "hex": "#152b0c",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 102.581,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26204,
    "c": 0.05988,
    "h": 137.6
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#152B0C
secondary
#562C66
accent
#48E0B4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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