#152C0B#152C0B

#152C0B is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.5% C 0.063 H 137.4°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#152C0B
RGBrgb(21, 44, 11)
HSLhsl(102, 60%, 11%)
HSVhsv(102, 75%, 17%)
CMYKcmyk(52.3%, 0%, 75%, 82.7%)
CIE-LABlab(15.41, -16.72, 17.52)
CIE-LCHlch(15.41, 24.22, 133.67°)
OKLaboklab(26.51% -0.0461 0.0424)
OKLCHoklch(26.51% 0.063 137.4)
XYZxyz(1.2703, 1.9849, 0.6327)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C0B #220B2C
analogous
#252C0B #152C0B #0B2C11
triadic
#152C0B #0B152C #2C0B15
tetradic
#152C0B #0B252C #220B2C #2C110B
square
#152C0B #0B252C #220B2C #2C110B
split-complementary
#152C0B #110B2C #2C0B25
monochromatic
#0C1806 #0C1806 #152C0B #2C5D17 #448E23

Accessibility & contrast

On white

15.03
#152C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#152C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C0B
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C0B#FFFFFF#000000##FFFFFF
##152C0B1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2808
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#142A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152c0b;
/* rgb */ color: rgb(21, 44, 11);
/* oklch */ color: oklch(26.5% 0.063 137.4);
Tailwind
colors: {
  custom: {
    50: '#54654c',
    500: '#152c0b',
    950: '#000000',
  },
}
SCSS
$custom: #152c0b;
$custom-light: #54654c;
$custom-dark: #000000;
JSON
{
  "hex": "#152c0b",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 101.818,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26511,
    "c": 0.06267,
    "h": 137.4
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#152C0B
secondary
#562B68
accent
#45E3B3
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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